Reputation: 2193
I am trying to understand the logic of the PATH directory and have been going through the threads here. I basically installed node onto my machine but for some reason Terminal cannot find via cd node:
MACHINE:~ KEN$ cd node
-bash: cd: node: No such file or directory
I have listed the contents of my bin directory (which it can find) and it it is clearly there:
ls /usr/local/bin/
git git-receive-pack git-upload-pack npm
git-credential-osxkeychain git-shell github
git-cvsserver git-upload-archive node
Is there something I am missing?
Upvotes: 0
Views: 1697
Reputation: 53
Is node
a directory? You can only use the cd
command to open a directory.
Try:
cd /usr/local/bin/
ls
and see what it shows. Normally the directories are blue listed
Upvotes: 1