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 //registry.npmjs.org/:_authToken <YOUR AUTH TOKEN>
Can’t believe this isn’t documented in the official docs.
@aral It kind of is, but yeah, not for usage in the interactive CLI like you have detailed:
(I used this recently)
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!