- Go to https://github.com/settings/tokens and click Generate new token. Make sure you select the read:packages scope. Copy the token.
- If you don't already have one, create a .npmrc file in your home directory (touch ~/.npmrc).
- Append the following to ~/.npmrc, replacing
TOKENwith the Github token you just created:
//npm.pkg.github.com/:_authToken=TOKEN
- On the project you want to use this package, append this like to
.npmrc:
@lumberdev:registry=https://npm.pkg.github.com
ORDRS_URLORDRS_API_KEYORDRS_CLIENT_IDORDRS_SECRET_KEY