Wasmer-JS CLI
The Wasmer-JS command line interface (CLI) uses a modern Javascript Workflow, which depends on Node.js.

Install Wasmer-JS CLI

To install the Wasmer-JS CLI globally on your system, run the following command:
1
$ npm install -g @wasmer/cli
Copied!
The Wasmer-JS CLI tool should now be installed. To test it, run the command wasmer-js --help and you should see output similar to the following:
1
$ wasmer-js --help
2
wasmer-js 0.7.1
3
The Wasmer Engineering Team <[email protected]>
4
Node.js Wasm execution runtime.
5
​
6
USAGE:
7
wasmer <SUBCOMMAND>
8
​
9
FLAGS:
10
-h, --help Prints help information
11
-V, --version Prints version information
12
​
13
SUBCOMMANDS:
14
help Prints this message or the help of the given subcommand(s)
15
run Run a WebAssembly file. Formats accepted: wasm, wat
16
validate Validate a Web Assembly binary
Copied!
Please take a look at the help output to start running Wasm modules.
The same help output is also available in this documentation as the User Guide on the sidebar.
Last modified 1yr ago
Copy link