hyper: Hyper CLI command not installed if /usr/local/bin doesn't exist
-
I am on the latest Hyper.app version
-
I have searched the issues of this repo and believe that this is not a duplicate
-
OS version and name: MacOS 10.13.4
-
Hyper.app version: 2.0.0
-
Link of a Gist with the contents of your .hyper.js: https://gist.github.com/colinhemphill/04a4c1e91a89ac2958e679581e38fb26
-
The issue is reproducible in vanilla Hyper.app: Is Vanilla
Issue
I updated to 2.0.0, and the hyper commands aren’t working for me. From poking around in documentation, it doesn’t look like I’m supposed to do anything to have access to the CLI, but maybe I’m wrong.
bash: hyper: command not found
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 3
- Comments: 34 (1 by maintainers)
I can recreate this in my OSX environment…
I fixed it by the following
The last command checks it.
Sorry if bumping the thread or anything along the lines.
I installed Hyper on a brand new OSX installation - In my case I didn’t get the symbolic link on
/usr/local/binand had to create it manually using -sudo ln -s /Applications/Hyper.app/Contents/Resources/bin/hyper /usr/local/bin/hyperwhich fixed the problem 👍Great, It’s work for me!
For some reason, on my macOS 10.13.4 installation, installing Hyper from the website didn’t install
hypercli command. Checked /usr/local/bin, and it’s not there.I’m having the same problem in windows 10, I upgraded hyper to version 2.0 but the CLI doesn’t work.
@chabou It appears
/usr/local/bin/hyperdoesn’t exist on my machine.In my case, /usr/local/bin exists, and I still have the same issue.
Worth noting that if you do not have write access to
/usr/local/bin,hyperwill also fail to install.At some point my write access got modified, running
brew doctorwas really helpful for anyone reaching this issue. 😄@donatoaguirre24 please open “Edit environment variables for your account” dialog https://i.stack.imgur.com/HQPYL.png Close it to force a refresh of env var cache from registry.
Or simply reboot your Windows.
Installing hyper.app in macOS Mojave would fail when creating the symlink. Uninstalling then installing via
brew cask install hypersuccessfully created the symlink.This is more or less exactly what I did today after installing Hyper for the first time, and it’s what I came to report. Applying this fix allowed me to use Hyper but led me to this error when installing a theme: https://github.com/zeit/hyper/issues/3648#issuecomment-532355802
This worked for me as well. Thanks!
After some discussion with @colinhemphill on Slack https://zeit-community.slack.com/archives/C1TMVKPFH/p1523905461000364
It appears that
/usr/local/bincould not exists (and not be added to path). Installhomebrewfixed this.We should take care of that.
@donatoaguirre24, you’re problem on Windows might be related to this: https://github.com/zeit/hyper/issues/2823
@xoche I think there’s a closed issue for that one: https://github.com/zeit/hyper/issues/2826
hyperborderdoesn’t work with 2.0.0Can you try to find this symbolic link?