Skip to content

Instantly share code, notes, and snippets.

@lightscalar
Last active August 29, 2015 14:19
Show Gist options
  • Save lightscalar/b914d9dd4d989fe472e3 to your computer and use it in GitHub Desktop.
Save lightscalar/b914d9dd4d989fe472e3 to your computer and use it in GitHub Desktop.
Getting NPM & Ember Running Properly

Installing Ember/Ember-CLI

For God's sake use the node version manager. First, you need to wipe everything clean.

rm -rf ~/.npm ~/.nvm

Next, install the node version manager (NVM).

$ curl https://raw.githubusercontent.com/creationix/nvm/v0.17.1/install.sh | bash
$ source ~/.nvm/nvm.sh

Add the source command to your .profile. Next, we install our favorite, stable version of node:

$ nvm install 0.12.2
$ nvm use 0.12.2
$ nvm alias default 0.12.2

Finally, we install Ember, Bower, and the rest.

$ npm install -g ember-cli
$ npm install -g bower

And now we can run Ember, Bower, etc., from the command line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment