npm version patchIncrement patch version and create a git tag by default.
Publishing, versioning, dist-tags, auth, and registry metadata commands.
Publish, version, and manage public or scoped packages.
npm version patchIncrement patch version and create a git tag by default.
npm version minorIncrement minor version.
npm version majorIncrement major version.
npm pack --dry-runSee which files would go into a package tarball.
npm publishPublish the current package to the configured registry.
npm publish --access publicPublish a scoped package to the public registry.
npm publish --tag nextPublish a prerelease or alternate channel.
Manage package release channels.
npm dist-tag ls <package>Show all dist-tags for a package.
npm dist-tag add <package>@<version> betaPoint a tag like beta at a version.
npm dist-tag rm <package> betaDelete a dist-tag from a package.
Login and inspect identity against a registry.
npm loginAuthenticate to a registry.
npm logoutClear login credentials for the current registry.
npm whoamiDisplay the authenticated npm username.
npm access ls-packagesShow package access rules for the current account.
npm owner ls <package>Show owners of a package.
npm owner add <user> <package>Grant owner rights on a package.
Inspect search and package pages.
npm search <keyword>Search for packages from the CLI.
npm repo <package>Open the package repository URL.
npm home <package>Open a package homepage.
npm deprecate <package>@"<range>" "message"Mark versions as deprecated in the registry.
npm unpublish <package>@<version>Remove a published version, subject to registry rules.