Add your access token to your project's .npmrc file:
Create .npmrc in your project root
//registry.formulate.codes/:_authToken=YOUR_TOKEN
@formulate:registry=https://registry.formulate.codes
Install packages
pnpm add @formulate/example-engine
That's it. Your token determines which packages and versions you can access.
Your token is tied to your organization's license. You'll only see the packages and versions included in your plan.
Don't commit .npmrc to version control if it contains your token. Use environment variables or .npmrc in your home directory instead:
# ~/.npmrc (per-user, not committed)
//registry.formulate.codes/:_authToken=YOUR_TOKEN
Then in your project .npmrc (committed):
@formulate:registry=https://registry.formulate.codes