I just installed node.js using the package installer from their website, and I can't use the "node" command or "npm" from terminal. usr/local/bin is in my $PATH but I don't have permissions to navigate there. Doing sudo cd bin doesn't even work. How do I fix it?
Found it out. I didn't have read permissions and that was blocking it so I just had to run a chmod -r to get it working. thanks!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.