You can add the environment variable to your .bashrc
or other startup shell file.
export NPM_TOKEN=my_token_goes_here_foo_bar
More Related Contents:
- How to set environment variables from within package.json?
- What’s the difference between tilde(~) and caret(^) in package.json?
- What’s the difference between dependencies, devDependencies and peerDependencies in npm package.json file?
- NPM run * doesn’t do anything
- npm install private github repositories by dependency in package.json
- Is there a way to get version from package.json in nodejs code?
- How to use private Github repo as npm dependency
- How to use environment variables in package.json
- How do I fix a vulnerable npm package in my package-lock.json that isn’t listed in the package.json?
- What’s the difference between dependencies, devDependencies, and peerDependencies in NPM package.json file?
- What is the –save option for npm install?
- How can I update NodeJS and NPM to their latest versions?
- Local dependency in package.json
- “message failed to fetch from registry” while trying to install any module
- npm ERR! Error: EPERM: operation not permitted, rename
- What is the difference between –save and –save-dev?
- How can I solve error gypgyp ERR!ERR! find VSfind VS msvs_version not set from command line or npm config?
- Error installing bcrypt with npm
- Purpose of installing Twitter Bootstrap through npm?
- npm WARN npm npm does not support Node.js v9.1.0
- How to properly upgrade node using nvm
- npm ERR! network getaddrinfo ENOTFOUND
- npm install doesn’t create node_modules directory
- npm: When to use `–force` and `–legacy-peer-deps`
- The engine “node” is incompatible with this module
- Message “the term ‘ng’ is not recognized as the name of a cmdlet”
- How to restore/reset npm configuration to default values?
- How to deploy Node.js application with deep node_modules structure on Windows?
- NPM installs dependencies in a wrong place
- How do I override nested dependencies with `yarn`?