Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install Fly CLI to mac

I download the latest version of the Fly cli

https://concourse-ci.org/download.html

to ~/Downloads then cd to ~/Downloads

cd ~/Downloads
mv fly_darwin_amd64 fly
install fly

then I do

fly

and i get

-bash: fly: command not found

Is one of my steps wrong?

like image 216
the_prole Avatar asked Jan 10 '19 17:01

the_prole


2 Answers

Try

cd ~/Downloads mv fly_darwin_amd64 /usr/local/bin/fly chmod 0700 /usr/local/bin/fly (Thanks to @Andrew Ramnikov) For the newest mac os version, you need to allow the App to run from System Settings->Security and Privacy->General-> Allow app fly -version

like image 176
shoan Avatar answered Sep 19 '22 06:09

shoan


Note that in the accepted answer, in Catalina and Newer the equivalent to the last step to allow the app in privacy settings is: xattr -d com.apple.quarantine /usr/local/bin/fly And this does not require admin rights, but doing it via the GUI does.

like image 33
danekan Avatar answered Sep 20 '22 06:09

danekan