Following this guide https://developers.cardano.org/docs/get-started/installing-cardano-node/#macos for Mac OS X. Have completed all steps as per guide. However, I am getting 'zsh: command not found: cardano-cli'.
cardano-cli and cardano-node are clearly in /~.local/bin as you can see below.
ls -l ~/.local/bin total 160128 -rwxr-xr-x 1 dylankumar staff 36328576 18 Sep 11:48 cardano-cli -rwxr-xr-x 1 dylankumar staff 45651344 18 Sep 11:48 cardano-node
and ~/.local/bin is in path
echo $PATH ~/.local/bin/:/Users/dylankumar/.cabal/bin:/Users/dylankumar/.ghcup/bin:~/.local/bin/:~/.local/bin/:/Users/dylankumar/.cabal/bin:/Users/dylankumar/.ghcup/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/Library/Apple/usr/bin
So I don't know why it's not working. I have have also restarted my computer, but am still getting:
# cardano-cli --version cardano-node --version zsh: command not found: cardano-cli zsh: command not found: cardano-node
Any advice would be greatly appreciated!
path+=~/.local/bin/. to the bottom of my ~/.zshrc file, and now working.