Reputation:
I have installed node , homebrew etc, but as soon as I want to use them on my terminal or IDE, I get the error: zsh: command not found: npm or zsh: command not found ....
Nevertheless, as soon as I do export path=/opt/homebrew/bin:/opt/homebrew/sbin:/usr/bin:/bin:/usr/sbin:/sbin I have no more problems, could you please fix this?
Thanks :)
Upvotes: 1
Views: 1785
Reputation:
I succeeded, it was going to modify the zshrc file via: nano ~/.zshrc and add export path=/opt/homebrew/bin:/opt/homebrew/sbin:/usr/bin:/usr/sbin:/sbin and save :)
Upvotes: 0