Skip to content

Documentation for "add" command is missing "--registry" option #8856

@eins78

Description

@eins78

Verify latest release

  • I verified that the issue exists in the latest pnpm release

pnpm version

No response

Which area(s) of pnpm are affected? (leave empty if unsure)

CLI

Link to the code that reproduces this issue or a replay of the bug

No response

Reproduction steps

Documentation for "add" command is missing "--registry" flag

Describe the Bug

The cli add command supports a registry option that is not documented.

Expected Behavior

Docs should mention the option, and maybe also link to the configuration section for registry: https://pnpm.io/npmrc#registry--authentication-settings
Example: pnpm --registry=http://example.com add lodash

Which Node.js version are you using?

20.15.1

Which operating systems have you used?

  • macOS
  • Windows
  • Linux

If your OS is a Linux based, which one it is? (Include the version if relevant)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions