add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -0,0 +1,36 @@
# npm 缓存
> 管理 npm 包缓存。
> 更多信息:<https://docs.npmjs.com/cli/commands/npm-cache>。
- 将特定包添加到缓存中:
`npm cache add {{package_name}}`
- 从缓存中移除特定包:
`npm cache remove {{package_name}}`
- 通过键清除特定缓存项目:
`npm cache clean {{key}}`
- 清除整个 npm 缓存:
`npm cache clean --force`
- 列出 npm 缓存的内容:
`npm cache ls`
- 验证 npm 缓存的完整性:
`npm cache verify`
- 显示缓存路径:
`npm config get cache`
- 更改缓存路径:
`npm config set cache {{path/to/directory}}`