pnpm Publish and Registry/Set registry for a scope

Send a package scope to a specific registry.

Section: Registry and Authentication

Set registry for a scope

bash
bash
pnpm config set @acme:registry https://npm.pkg.github.com
Explanation

Send a package scope to a specific registry.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Registry and Authentication
Login to a registry
Authenticate with the current registry.
OpenIn sheetbashsame section
Logout from a registry
Remove login credentials for the current registry.
OpenIn sheetbashsame section
Show current registry user
Show the account currently authenticated for the active registry.
OpenIn sheetbashsame section
Set npm registry
Configure the default registry endpoint.
OpenIn sheetbashsame section
Store token in .npmrc
Use an auth token via .npmrc for automated publishing.
OpenIn sheetbashsame section
View package metadata
Inspect package metadata from the registry.
OpenIn sheetbash2 tag match