[go: up one dir, main page]

メインコンテンツまでスキップ
Version: Next

pnpm login

Added in: v11.0.0

Aliases: adduser

Authenticate with an npm registry.

pnpm login [--registry <url>] [--scope <scope>]

Supports web-based login with QR code as well as classic username/password authentication.

Auth tokens are written to <pnpm config>/auth.ini.

Options

--registry <url> への直接リンク" title="--registry への直接リンク" translate=no>​

The registry to authenticate with. Defaults to the configured default registry.

--scope <scope> への直接リンク" title="--scope への直接リンク" translate=no>​

Associate the credentials with the specified scope. The registry for that scope will be used.