- Generate a token with repo and read:packages scopes
- do
export NPM_AUTH_TOKEN=<your token>to set it as environment variable npm install
- Use
npm --registry=https://npm.pkg.github.com adduser- Generate a token with repo and read:packages scopes, don't enter your github password.
- And then do
npm config set @dab-co:registry https://npm.pkg.github.com - Run npm install