From 797ef1c201ce61ac55290f97b0849f1fdec5b7e1 Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Sat, 1 Feb 2020 11:58:26 +0000 Subject: [PATCH] wapm: add page (#3808) * wapm: add page * wapm: apply review comments --- pages/common/wapm.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/common/wapm.md diff --git a/pages/common/wapm.md b/pages/common/wapm.md new file mode 100644 index 000000000..9e6f1e8c0 --- /dev/null +++ b/pages/common/wapm.md @@ -0,0 +1,36 @@ +# wapm + +> The WebAssembly package manager. +> More information: . + +- Interactively create a new wapm.toml file: + +`wapm init` + +- Download all the packages listed as dependencies in wapm.toml: + +`wapm install` + +- Download a specific version of a package and add it to the list of dependencies in wapm.toml: + +`wapm install {{package_name}}@{{version}}` + +- Download a package and install it globally: + +`wapm install --global {{package_name}}` + +- Uninstall a package and remove it from the list of dependencies in wapm.toml: + +`wapm uninstall {{package_name}}` + +- Print a tree of locally-installed dependencies: + +`wapm list` + +- List top-level globally installed packages: + +`wapm list --global` + +- Execute a package command using the Wasmer runtime: + +`wapm run {{command_name}} {{arguments}}`