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

Install on Mac using civo.com/get | sh doesn't work #279

Open
DMajrekar opened this issue Oct 21, 2022 · 9 comments
Open

Install on Mac using civo.com/get | sh doesn't work #279

DMajrekar opened this issue Oct 21, 2022 · 9 comments

Comments

@DMajrekar
Copy link
Contributor

No description provided.

@markboost
Copy link

markboost commented Oct 21, 2022

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 ~ # 

@markboost
Copy link

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 

@uzaxirr
Copy link
Member

uzaxirr commented Oct 27, 2022

Worked For me, can someone point out what exactly is the problem

https://app.warp.dev/block/LF6msb5lzWXwVuS0xPN3iv

Screenshot 2022-10-27 at 10 35 49 AM

Screenshot 2022-10-27 at 10 37 59 AM

@haardikdharma10
Copy link
Contributor

Should we move the civo binary to /Applications? @DMajrekar

@RealHarshThakur
Copy link
Member

RealHarshThakur commented Nov 1, 2022

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

@alessandroargentieri
Copy link
Member

any update on this issue?

@martynbristow
Copy link
Contributor

Sorry, works on my machine (intel Mac) ...
Is this an M1 MacBook Air ... ?

@martynbristow
Copy link
Contributor

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

@martynbristow
Copy link
Contributor

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

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

7 participants