Wasmer enables super lightweight containers based on WebAssembly that can run anywhere: from Desktop to the Cloud and IoT devices, and also embedded in any programming language.
Features
-
Fast & Safe. Wasmer runs WebAssembly at near-native speed in a fully sandboxed environment.
-
Pluggable. Wasmer supports different compilation frameworks to best suit your needs (LLVM, Cranelift...).
-
Universal. You can run Wasmer in any platform (macOS, Linux and Windows) and chipset.
-
Standards compliant. The runtime passes official WebAssembly test suite supporting WASI and Emscripten.
Quickstart
Wasmer ships with no dependencies. You can install it using the installers below:
curl https://get.wasmer.io -sSfL | sh
With PowerShell (Windows)
iwr https://win.wasmer.io -useb | iex
See wasmer-install for more installation options: Homebrew, Scoop, Cargo...
Executing a WebAssembly file
After installing Wasmer you should be ready to execute your first WebAssemby file!
You can start by running QuickJS: qjs.wasm
$ wasmer qjs.wasm
QuickJS - Type "\h" for help
qjs >
Here is what you can do next:
Language Integrations
Language | Package | Docs | |
---|---|---|---|
Rust | wasmer Rust crate |
Docs | |
C/C++ | wasmer.h headers |
Docs | |
C# | WasmerSharp NuGet package |
Docs | |
D | wasmer Dub package |
Docs | |
Python | wasmer PyPI package |
Docs | |
Javascript | @wasmerio NPM packages |
Docs | |
Go | wasmer Go package |
Docs | |
PHP | wasm PECL package |
Docs | |
Ruby | wasmer Ruby Gem |
Docs | |
Java | wasmer/wasmer-jni Bintray package |
Docs | |
Elixir | wasmex hex package |
Docs | |
R | no published package | Docs | |
Postgres | no published package | Docs |
Contribute
We welcome any form of contribution, especially from new members of our community
You can check how to build the Wasmer runtime in our awesome docs!
Testing
Test you want? The Wasmer docs will show you how.
Community
Wasmer has an amazing community of developers and contributors. Welcome, please join us!