One-line commands to install Wasmer on your system.
With Shell:
curl https://get.wasmer.io -sSfL | sh
With PowerShell:
iwr https://win.wasmer.io -useb | iex
With Shell:
curl https://get.wasmer.io -sSfL | sh -s "2.2.1"
With PowerShell:
$v="1.0.0"; iwr https://win.wasmer.io -useb | iex
With Homebrew:
brew install wasmer
With Scoop:
scoop install wasmer
With Chocolatey:
Wasmer is not yet available in Chocolatey, would you like to give us a hand? 🤗
choco install wasmer
With Cargo:
cargo install wasmer-cli --features singlepass,cranelift # add --features=llvm for LLVM compilation support
WASMER_DIR
- The directory in which to install Wasmer. This defaults to
$HOME/.wasmer
. The executable is placed in $WASMER_DIR/bin
. One
application of this is a system-wide installation:
With Shell (/usr/local
):
curl https://get.wasmer.io -sSfL | sudo WASMER_DIR=/usr/local sh
With PowerShell (C:\Program Files\wasmer
):
# Run as administrator:
$env:WASMER_DIR = "C:\Program Files\wasmer"
iwr https://win.wasmer.io -useb | iex