Node and NPM - markhowellsmead/helpers GitHub Wiki

Install to Cyon

curl https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install 6.10.2
npm install -g gulp

Permission errors

npmjs.com

Register and use your own Node Modules.

  1. Register for an account.
  2. Organise Organisation membership if required. (Contact the org. admin.)
  3. Set up your NodeJS environment.
  4. Follow these instructions to create and publish a scoped package.

Path

e.g. for Composer: add export PATH="$HOME/.composer/vendor/bin:$PATH" to ~/.bash_profile (OSX only - Linux uses ~/.bashrc, I think...)

Github Package Repository

Log in using a personal access token. Then work as usual. (More info.)