Skip to search
Skip to content
NPM中文文档
翻译建议
NPM官网
Site navigation
关于NPM
开始上手
设置你的npm用户账号
在公共注册中心上创建新用户帐户
创建强密码
通过邮件接收一次性密码
关于双重验证
配置双重验证
使用双重验证访问npm
恢复启用了双重验证的账户
账户管理
个人资料设置
修改用户名
删除账号
导出个人资料
费用与支付
升级为付费帐户
查看、下载、发送帐 户收据
修改账户支付设置
降级为免费账户
本地环境配置
npm cli 版本
Node.js 和 npm 的下载安装
问题排查
npm-debug.log文件
常见错误
尝试最新稳定版Node
尝试最新稳定版NPM
包和模块
介绍
关于公共源
关于包和模块
About scopes
关于公共包
关于私有包
包的适用范围、访问级别以及可见性
发布一个公共包
Creating 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
修改、管理已发布的包
Changing 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
获取和使用公共包
Searching 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
代码安全
About audit reports
Auditing package dependencies for security vulnerabilities
Generating provenance statements
About ECDSA registry signatures
Verifying ECDSA registry signatures
Requiring 2FA for package publishing and settings modification
Reporting malware in an npm package
npm CLI
CLI Commands
npm
npm access
npm adduser
npm audit
npm bugs
npm cache
npm ci
npm completion
npm config
npm dedupe
npm deprecate
npm diff
npm dist-tag
NPM中文文档
npm doctor
npm edit
npm exec
npm explain
npm explore
npm find-dupes
npm fund
npm help
npm help-search
npm hook
npm init
npm install
npm install-ci-test
npm install-test
npm link
npm login
npm logout
npm ls
npm org
npm outdated
npm owner
npm pack
npm ping
npm pkg
npm prefix
npm profile
npm prune
npm publish
npm query
npm rebuild
npm repo
npm restart
npm root
npm run-script
npm sbom
npm search
npm shrinkwrap
npm star
npm stars
npm start
npm stop
npm team
npm test
npm token
npm uninstall
npm unpublish
npm unstar
npm update
npm version
npm view
npm whoami
npx
Configuring npm
Install
Folders
.npmrc
npm-shrinkwrap.json
package.json
package-lock.json
Using npm
Registry
Package spec
Config
Logging
Scope
Scripts
Workspaces
组织
Dependency Selectors
Developers
Removal
Changelog
集成
npm与外部服务集成
About access tokens
Creating and viewing access tokens
Revoking access tokens
Using private packages in a CI/CD workflow
Docker and private modules
组织
创建、管理组织
Creating an organization
Converting your user account to an organization
Requiring two-factor authentication in your organization
Renaming an organization
Deleting an organization
组织的支付
Upgrading to a paid organization plan
Viewing, downloading, and emailing receipts for your organization
Updating organization billing settings
Downgrading to a free organization plan
管理组织成员
Adding members to your organization
Accepting or rejecting an organization invitation
Organization roles and permissions
Managing organization permissions
Removing members from your organization
管理团队
About the developers team
Creating teams
Adding organization members to teams
Removing organization members from teams
Managing team access to organization packages
Removing teams
管理组织的包
About organization scopes and packages
Configuring your npm client with your organization settings
Creating and publishing an organization scoped package
政策与协议
使用条款
开源条款
付费条款
行为准则
包名争议
开源许可
隐私政策
撤销已发布包的政策
版权和DMCA政策
标志和用途
安全协议
复制和网络爬虫政策
潜在威胁与改善措施
翻译建议
NPM官网
GitHub
npm CLI
CLI Commands
Configuring npm
Using npm
Edit this page on GitHub
1 contributor
Last edited by
mona
on
March 21, 2023
声明:npm 及相关 logo 的版权归 npmjs.com 所有。本站点仅用于 npm 中文文档,与 npmjs.com 没有任何关系。由于译者水平有限,且避免产生误解,条款和政策内容不进行翻译,关于这部分,请移步官网查看最新内容。