Open DMajrekar opened 2 years ago
root@Marks-MacBook-Air ~ # ls /usr/local/bin
ls: /usr/local/bin: No such file or directory
root@Marks-MacBook-Air ~ # mkdir /usr/local/bin
root@Marks-MacBook-Air ~ # mv /tmp/civo /usr/local/bin/civo
Worked For me, can someone point out what exactly is the problem
Should we move the civo binary to /Applications
? @DMajrekar
Which version of Mac OS was it? It seems like they've started adding it in all the latest versions since couple years ago https://discussions.apple.com/thread/251258392
any update on this issue?
Sorry, works on my machine (intel Mac) ... Is this an M1 MacBook Air ... ?
Should we move the civo binary to
/Applications
? @DMajrekar
As it's a command line tool, I don't think it fits the pattern. /usr/local/bin still exists on macOS
Last login: Fri Oct 21 13:05:26 on ttys000 markboost@Marks-MacBook-Air ~ % curl -sL https://civo.com/get | sh /usr/bin/curl Finding latest version from GitHub 1.0.40 Downloading package https://github.com/civo/cli/releases/download/v1.0.40/civo-1.0.40-darwin-arm64.tar.gz to /tmp/civo-1.0.40-darwin-arm64.tar.gz CHANGELOG.md: Can't unlink already-existing object LICENSE: Can't unlink already-existing object README.md: Can't unlink already-existing object changelog.yml: Can't unlink already-existing object civo: Can't unlink already-existing object tar: Error exit delayed from previous errors. markboost@Marks-MacBook-Air ~ % sudo curl -sL https://civo.com/get | sh Password: /usr/bin/curl Finding latest version from GitHub 1.0.40 Downloading package https://github.com/civo/cli/releases/download/v1.0.40/civo-1.0.40-darwin-arm64.tar.gz to /tmp/civo-1.0.40-darwin-arm64.tar.gz CHANGELOG.md: Can't unlink already-existing object LICENSE: Can't unlink already-existing object README.md: Can't unlink already-existing object changelog.yml: Can't unlink already-existing object civo: Can't unlink already-existing object tar: Error exit delayed from previous errors. markboost@Marks-MacBook-Air ~ % civo zsh: command not found: civo markboost@Marks-MacBook-Air ~ % sudo -s root@Marks-MacBook-Air ~ # curl -sL https://civo.com/get | sh /usr/bin/curl Finding latest version from GitHub 1.0.40 Downloading package https://github.com/civo/cli/releases/download/v1.0.40/civo-1.0.40-darwin-arm64.tar.gz to /tmp/civo-1.0.40-darwin-arm64.tar.gz Download complete.
============================================================ The script was run as a user who is unable to write to /usr/local/bin. To complete the installation the following commands may need to be run manually.
sudo mv /tmp/civo /usr/local/bin/civo
root@Marks-MacBook-Air ~ # sudo mv /tmp/civo /usr/local/bin/civo mv: rename /tmp/civo to /usr/local/bin/civo: No such file or directory root@Marks-MacBook-Air ~ #
Do you have /usr/local/bin
... I do on my MacBook because it's an old build ... I have a number of apps there already e.g. docker.
There's nothing wrong with the app, just the install instructions.
Run mkdir /usr/local/bin
before running the sudo