Reputation: 8047
I have installed the module with node version v0.10.22
sudo npm install -g ionic
But know when I am trying to start an new application I am getting a
-bash command not found
which ionic
gives me nothing, do I have to add the path to on the $PATH variable ?
Upvotes: 2
Views: 527
Reputation: 2692
How did you installed npm? If you used homebrew then npm won't put npm files accessible by users.
Add export PATH=/usr/local/share/npm/bin:$PATH
to your .bashrc/.bash_profile/.zshrc
file and it should work fine.
Also refer this: Bower: "command not found" after installation
Upvotes: 1