Skip to content

Instantly share code, notes, and snippets.

@carlcrott
Last active August 29, 2015 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carlcrott/10936495 to your computer and use it in GitHub Desktop.
Save carlcrott/10936495 to your computer and use it in GitHub Desktop.
$ sudo apt-get install nodejs
$ sudo npm install -g phonegap
$ sudo npm install -g appium
$ appium
error: Appium will not work if used or installed with sudo. Please rerun/install as a non-root user. If you had to install Appium using `sudo npm install -g appium`, the solution is to reinstall Node using a method (Homebrew, for example) that doesn't require sudo to install global npm packages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment