How to log in to npm to using a token

1. Generate a token from the Access Tokens section of your npm account

2. On your dev machine:

npm set // <YOUR AUTH TOKEN>

Can’t believe this isn’t documented in the official docs.

· · Web · 1 · 4 · 6
Sign in to participate in the conversation
Aral’s Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!