One-line commands to install Wasmer on your system.
With Shell:
curl https://get.wasmer.io -sSfL | shWith PowerShell:
iwr https://win.wasmer.io -useb | iexWith Shell:
curl https://get.wasmer.io -sSfL | sh -s "2.2.1"With PowerShell:
$v="1.0.0"; iwr https://win.wasmer.io -useb | iexWith Homebrew:
brew install wasmerWith Scoop:
scoop install wasmerWith Chocolatey:
Wasmer is not yet available in Chocolatey, would you like to give us a hand? 🤗
choco install wasmerWith 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 shWith PowerShell (
C:\Program Files\wasmer):# Run as administrator: $env:WASMER_DIR = "C:\Program Files\wasmer" iwr https://win.wasmer.io -useb | iex
- The Shell installer can be used on Windows via the Windows Subsystem for Linux.