Skip to content

wasmerio/wasmer-install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wasmer-install

One-line commands to install Wasmer on your system.

Build Status

Install Latest Version

With Shell:

curl https://get.wasmer.io -sSfL | sh

With PowerShell:

iwr https://win.wasmer.io -useb | iex

Install Specific Version

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

Install via Package Manager

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

Environment Variables

  • 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

Compatibility