2

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 ?

Petran
  • 7,677
  • 22
  • 65
  • 104

1 Answers1

1

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

Community
  • 1
  • 1
Bipin Bhandari
  • 2,694
  • 23
  • 38