License and access
Pro is reached with your account: the CLI signs in with a token, the package downloads with the same token.
Plans
Solo is for one developer, monthly, yearly or paid once. Team is priced per seat, monthly or yearly. Company covers the developers of one company and is yearly only. The prices are on the pricing page.
API token
Your API tokens are listed and revoked on the account page. The account page also prints the exact .npmrc lines for the package.
Signing the CLI in
login shows a one-time code and opens this site to approve it. With --no-browser it prints the approval address instead of opening it.
The token is stored in ~/.config/valyro/auth.json (readable by you only) and sent only to https://pro.valyro.xyz/api. whoami shows the account and plan of the token; logout revokes the token and deletes it.
npx valyro-cli login
npx valyro-cli@latest whoami
npx valyro-cli@latest logout
In CI
Create a token on the account page and use login --token <token> or the VALYRO_TOKEN environment variable.
npx valyro-cli@latest login --token <VALYRO_TOKEN>
Without a licence
Without a token, with a token the API refuses (401), an account without a licence (402) or when the API cannot be reached, init and add install the free files and still succeed, with one line on stderr saying why.