Skip to content

> It seems that the publish command does not support a --registry argument though: https://docs.npmjs.com/cli/v7/commands/npm-publish #2806

Closed
@avezina-ubik

Description

@avezina-ubik

It seems that the publish command does not support a --registry argument though: https://docs.npmjs.com/cli/v7/commands/npm-publish

I'd argue this should be documented better, but I believe the --registry argument is a global one that can be used on any npm command, as detailed in the last paragraph under "Description" on the "registry" page.

Originally posted by @foxxyz in #2453 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions