nodejs and npm

Some nodejs related commands I want to quickly find again

Posted February 28, 2021 by Adrian Wyssmann

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

Edit this page