add new chinese translations
This commit is contained in:
36
pages.zh/common/wapm.md
Normal file
36
pages.zh/common/wapm.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# wapm
|
||||
|
||||
> WebAssembly 包管理器。
|
||||
> 更多信息:<https://wapm.io/help/reference>。
|
||||
|
||||
- 交互式创建一个新的 `wapm.toml` 文件:
|
||||
|
||||
`wapm init`
|
||||
|
||||
- 下载 `wapm.toml` 中列出的所有依赖包:
|
||||
|
||||
`wapm install`
|
||||
|
||||
- 下载特定版本的包并将其添加到 `wapm.toml` 的依赖列表中:
|
||||
|
||||
`wapm install {{package}}@{{version}}`
|
||||
|
||||
- 下载一个包并全局安装它:
|
||||
|
||||
`wapm install --global {{package}}`
|
||||
|
||||
- 卸载一个包并将其从 `wapm.toml` 的依赖列表中移除:
|
||||
|
||||
`wapm uninstall {{package}}`
|
||||
|
||||
- 打印本地安装的依赖树:
|
||||
|
||||
`wapm list`
|
||||
|
||||
- 列出顶层全局安装的包:
|
||||
|
||||
`wapm list --global`
|
||||
|
||||
- 使用 Wasmer 运行时执行包命令:
|
||||
|
||||
`wapm run {{command_name}} {{arguments}}`
|
Reference in New Issue
Block a user