.npmrc file

exile.watch logo

As mentioned in Generating GitHub PAT, in order to use your generated PAT you have to create .npmrc file in project's root directory.

If you have already generated PAT and have created .npmrc file in one project, you can copy the file to other projects

1. Create .npmrc file

$: cd ./crucible
$: touch .npmrc # make .npmrc file in root

2. Update .npmrc file content

.npmrc is in .gitignore by default

# .npmrc
//npm.pkg.github.com/:_authToken=PAT_TOKEN_HERE
@exile-watch:registry=https://npm.pkg.github.com/

Last updated

Was this helpful?