Reputation: 2807
/usr/local/bin is not found on my mac computer. I already ran
defaults write com.apple.Finder AppleShowAllFiles TRUE
and still not /usr/local/bin. I am trying to install ssh-copy-id by following https://github.com/beautifulcode/ssh-copy-id-for-OSX but it fails when trying to move ssh-copy-id to /usr/local/bin. Any ideas on how to fix this?
Upvotes: 16
Views: 96811
Reputation: 9288
You should be able to create it yourself by executing sudo mkdir -p -m 775 /usr/local/bin
from the terminal. If /usr/local/bin
is not in your $PATH
environmental variable, you can update it by appending export PATH=$PATH:/usr/local/bin
to the file $HOME/.bash_profile
. Close your current terminal, and open a new one for testing.
UPDATE: If you have brew installed, you can just run brew install ssh-copy-id
.
Upvotes: 37