Node and npm

Set authentication via command line

According to the documentation one can run the following command to set the authToken

npm config set //npm.intra/:_authToken=\${NPM_TOKEN}

In addition also set the env-variable NPM_TOKEN