Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command not found with new Hyper install 2.1.0 #3349

Closed
jakewhite1230 opened this issue Dec 18, 2018 · 16 comments
Closed

Command not found with new Hyper install 2.1.0 #3349

jakewhite1230 opened this issue Dec 18, 2018 · 16 comments

Comments

@jakewhite1230
Copy link

  • [ x] I am on the latest Hyper.app version

  • [x ] I have searched the issues of this repo and believe that this is not a duplicate

  • OS version and name: MacOS 10.13.6 High Sierra

  • Hyper.app version: 2.1.0

Issue

I installed Hyper 2.0 on one of my machines last week and everything was working great. I went to add it to a new machine for work. It was the latest 2.1.0 release. After install, I tried to add the material theme and was getting bash: hyper: command not found. I searched previous issues and found some stuff about hyper possibly not existing here /usr/local/bin/hyper, but that wasn't the case. It was there. I grabbed the 2.0.0 copy from my other machine and installed it on my new one, and everything worked fine, even after upgrading to 2.1.0. So there may be an issue with Hyper 2.1.0 and the cli tool

@JonasKs
Copy link

JonasKs commented Dec 19, 2018

On Windows you have to restart the machine/refresh environment variables for it to work. Tried restarting your computer?

@jolaleye
Copy link

Having the same issue. The app installed just fine, but without the CLI. Trying Plugins > Install Hyper CLI command in PATH results in the error: Symlink creation failed: EACCES.

  • macOS Mojave 10.14.2
  • Hyper.app 2.1.0

@galliv
Copy link

galliv commented Jan 3, 2019

I suppose it depends on Mojave's SIP

@jolaleye
Copy link

jolaleye commented Jan 9, 2019

Installing with Homebrew fixed my issue. I can now use the hyper command. Rereading this thread, I think I was actually having a different problem but nonetheless this may help.

@Nazaire
Copy link

Nazaire commented Jan 13, 2019

Just had the same issue all I had to do was:
Remove whatever was at /usr/local/bin/hyper
Then re-installed it with Plugins > Install Hyper CLI command in PATH and it works fine

@zotttttttt
Copy link

Just had the same issue all I had to do was:
Remove whatever was at /usr/local/bin/hyper
Then re-installed it with Plugins > Install Hyper CLI command in PATH and it works fine

Worked for me. I think this happened because I launched Hyper from my Downloads folder and then moved it into Applications. I think that the link between what had been at /usr/local/bin/hyper and actual Hyper application broke there.

@zylwendao
Copy link

i have solved this issue , 1, uninstalling hyper.app 2.cd /usr/local/bin/ then remove directory 'hyper' and 'hyperkit' , 3, open hyper.app , finished!

@AbhishakeDev
Copy link

AbhishakeDev commented Sep 8, 2020

the best way is to install homebrew from brew.sh which basically installs all missing commands in your mac.
1)go to brew.sh, paste the command in your terminal(wait for sometime until it installs)
2)then go to your hyper terminal and using plugins tab in top nav bar and install hyper cli.
3)You are good to go!!
now you can use hyper commands
for eg< hyper i verminal>

@Sergioamjr
Copy link

I solved that running this command on my mac

sudo ln -s "/Applications/Hyper.app/Contents/Resources/bin/hyper" /usr/local/bin/hyper

@quibbleahr
Copy link

Just in case someone else runs into this issue, on my windows computer, I have Git Bash and created the /usr/local/bin directory. Then I hit Tools > Install Hyper CLI command in PATH, restarted and it worked!

@bschaatsbergen
Copy link

I solved that running this command on my mac

sudo ln -s "/Applications/Hyper.app/Contents/Resources/bin/hyper" /usr/local/bin/hyper

Works great, thanks Sergio.

@jhoanplata
Copy link

Resolví eso ejecutando este comando en mi mac

sudo ln -s "/Applications/Hyper.app/Contents/Resources/bin/hyper" /usr/local/bin/hyper

Excelente a 2022, sigue funcionando perfecto, muchas gracias.

@noor-codes
Copy link

I solved that running this command on my mac

sudo ln -s "/Applications/Hyper.app/Contents/Resources/bin/hyper" /usr/local/bin/hyper

This worked for me! Thank You

@ArmsAndArrows
Copy link

I was also stuck with exact same problem.
However, after installing Git from https://git-scm.com/downloads on my PC with all default settings, everything started working correctly.

@Rodrigolqjs
Copy link

sudo ln -s "/Applications/Hyper.app/Contents/Resources/bin/hyper" /usr/local/bin/hyper

This worked for me. Thanks Sergioamjr!!!

@bkwilcox100
Copy link

After creating a local bin folder, this finally worked. Thanks!

sudo ln -s "/Applications/Hyper.app/Contents/Resources/bin/hyper" /usr/local/bin/hyper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests