0

I have installed node on mavericks using 'brew install node'. Node is installed. But npm version is not shown.

$ node -v 
v0.10.26

$ npm -v 
-bash: npm: command not found

$ npm install -g appium 
-bash: npm: command not found 

Please help.

Himanshu
  • 4,327
  • 16
  • 31
  • 39
user7256
  • 1
  • 1
  • $ brew install npm Warning: node-0.10.26 already installed – user7256 May 16 '14 at 05:14
  • Kindly use this link for brew installation process for appium. http://stackoverflow.com/questions/22374416/how-to-setup-appium-in-ubuntu-for-android/23738169#23738169 – user2220762 May 20 '14 at 11:29

1 Answers1

1

Please try re installing node from the installer package available at http://nodejs.org/

If does not work

try running sudo chmod 777 /usr/local/lib/ from Terminal and reinstall node.js

Abhishek Swain
  • 1,054
  • 8
  • 28