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

cli: auto-installer fails if /usr/local/bin folder doesn't exist in macOS #935

Open
dbm03 opened this issue Dec 20, 2024 · 0 comments
Open

Comments

@dbm03
Copy link
Member

dbm03 commented Dec 20, 2024

I get the error:
mv: rename ./cli to /usr/local/bin/nhost: No such file or directory
FAILED> failed executing: sudo mv ./cli /usr/local/bin/nhost

Terminal output

$ sudo curl -L https://raw.githubusercontent.com/nhost/cli/main/get.sh | bash

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3440  100  3440    0     0   118k      0 --:--:-- --:--:-- --:--:--  119k
--> Getting latest version...
--> Latest version is v1.28.2
--> Downloading Nhost v1.28.2 for darwin-arm64 to cli-v1.28.2-darwin-arm64.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 22.7M  100 22.7M    0     0  17.8M      0  0:00:01  0:00:01 --:--:-- 24.1M
x cli
--> Download complete!

mv: rename ./cli to /usr/local/bin/nhost: No such file or directory
FAILED> failed executing: sudo mv ./cli /usr/local/bin/nhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant