-
git
https://git-scm.com/ -
node
version22.11.0
or higher: https://nodejs.org/en/ -
yarn
package manager version1.22.22
or higher: https://yarnpkg.com/lang/en/
To install you will need to setup github npm private package authentication.
This is a pretty simple process of generating a personal access token as described here.
You will need at least the scope: read:packages
.
Please make sure to store the access token when shown, you will be shown the token again.
Then update your ~/.npmrc
file as follows (replacing {TOKEN}
with your access token):
//npm.pkg.github.com/:_authToken={TOKEN}
In your project create or update a .yarnrc
file and add the packages private registry:
"@gambitnash:registry" "https://npm.pkg.github.com"
Add the package to your project, along with its peer dependencies.
yarn add @gambitnash/cli