mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-16 21:00:25 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
41
tldr/wapm
Normal file
41
tldr/wapm
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# wapm
|
||||
|
||||
> The WebAssembly package manager.
|
||||
> More information: <https://wapm.io/help/reference>.
|
||||
|
||||
- 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}}@{{version}}`
|
||||
|
||||
- Download a package and install it globally:
|
||||
|
||||
`wapm install --global {{package}}`
|
||||
|
||||
- Uninstall a package and remove it from the list of dependencies in `wapm.toml`:
|
||||
|
||||
`wapm uninstall {{package}}`
|
||||
|
||||
- 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}}`
|
||||
Reference in New Issue
Block a user