npm DocsSkip to searchSkip to content npm Docs npmjs.comStatusSupport Site navigation About npm Getting startedSetting up your npm user accountCreating a new user account on the public registry Creating a strong password Receiving a one-time password over email About two-factor authentication Configuring two-factor authentication Accessing npm using two-factor authentication Recovering your 2FA-enabled account Managing your npm user accountManaging your profile settings Changing your npm username Deleting your npm user account Requesting an export of your personal data Paying for your npm user accountUpgrading to a paid user account plan Viewing, downloading, and emailing receipts for your npm user account Updating user account billing settings Downgrading to a free user account plan Configuring your local environmentAbout npm CLI versions Downloading and installing Node.js and npm TroubleshootingGenerating and locating npm-debug.log files Common errors Try the latest stable version of node Try the latest stable version of npm Packages and modulesIntroduction to packages and modulesAbout the public npm registry About packages and modules About scopes About public packages About private packages npm package scope, access level, and visibility Contributing packages to the registryCreating a package.json file Creating Node.js modules About package README files Creating and publishing unscoped public packages Creating and publishing scoped public packages Creating and publishing private packages Package name guidelines Specifying dependencies and devDependencies in a package.json file About semantic versioning Adding dist-tags to packages Updating and managing your published packagesChanging package visibility Adding collaborators to private packages owned by a user account Updating your published package version number Deprecating and undeprecating packages or package versions Transferring a package from a user account to another user account Unpublishing packages from the registry Getting packages from the registrySearching for and choosing packages to download Downloading and installing packages locally Downloading and installing packages globally Resolving EACCES permissions errors when installing packages globally Updating packages downloaded from the registry Using npm packages in your projects Using deprecated packages Uninstalling packages and dependencies Securing your codeAbout audit reports Auditing package dependencies for security vulnerabilities Generating provenance statements Trusted publishing with OIDC Staged publishing About ECDSA registry signatures Verifying ECDSA registry signatures Requiring 2FA for package publishing and settings modification Reporting malware in an npm package IntegrationsIntegrating npm with external servicesAbout access tokens Creating and viewing access tokens Revoking access tokens Using private packages in a CI/CD workflow Docker and private modules OrganizationsCreating and managing organizationsCreating an organization Converting your user account to an organization Requiring two-factor authentication in your organization Renaming an organization Deleting an organization Paying for your organizationUpgrading to a paid organization plan Viewing, downloading, and emailing receipts for your organization Updating organization billing settings Downgrading to a free organization plan Managing organization membersAdding members to your organization Accepting or rejecting an organization invitation Organization roles and permissions Managing organization permissions Removing members from your organization Managing teamsAbout the developers team Creating teams Adding organization members to teams Removing organization members from teams Managing team access to organization packages Removing teams Managing organization packagesAbout organization scopes and packages Configuring your npm client with your organization settings Creating and publishing an organization scoped package PoliciesTerms of Use Open Source Terms Dual Use Content Private Terms Code of Conduct Package Name Disputes npm License Privacy Policy Unpublish Policy Copyright and DMCA Policy Logos and Usage Security Replication and web crawler policy Threats and mitigations npm CLICLI Commandsnpm npm access npm approve-scripts npm audit npm bugs npm cache npm ci npm completion npm config npm dedupe npm deny-scripts npm deprecate npm diff npm dist-tag npm docs npm doctor npm edit npm exec npm explain npm explore npm find-dupes npm fund npm get npm help npm help-search npm init npm install npm install-ci-test npm install-scripts npm install-test npm link npm ll npm login npm logout npm ls npm org npm outdated npm owner npm pack npm patch npm ping npm pkg npm prefix npm profile npm prune npm publish npm query npm rebuild npm repo npm restart npm root npm run npm sbom npm search npm set npm stage npm start npm stop npm team npm test npm token npm trust npm undeprecate npm uninstall npm unpublish npm update npm version npm view npm whoami npx Configuring npmInstall Folders .npmrc package.json package-lock.json .npm-extension Using npmRegistry Package spec Config Logging Scope Scripts Workspaces Organizations Dependency Selectors Developers Removal Changelog npmjs.com Status Support GitHub npm Docs Documentation for the npm registry, website, and command-line interface About npm Getting started Packages and modules Integrations Organizations Policies Threats and mitigations npm CLI