Wasmer is a blazing fast and secure WebAssembly runtime that enables incredibly lightweight containers to run anywhere: from Desktop to the Cloud, Edge and your browser.
- Secure by default. No file, network, or environment access, unless explicitly enabled.
- Pluggable. supports WASIX, WASI out of the box.
- Incredibly Fast. Run WebAssembly at near-native speeds.
- Embeddable anywhere via Wasmer SDKs
curl https://get.wasmer.io -sSfL | sh
Other installation options (Powershell, Brew, Cargo, ...)
Wasmer can be installed from various package managers. Choose the one that fits best for your environment:
- Powershell (Windows)
iwr https://win.wasmer.io -useb | iex
-
Homebrew (macOS, Linux)
brew install wasmer
-
Scoop (Windows)
scoop install wasmer
-
Chocolatey (Windows)
choco install wasmer
-
cargo binstall wasmer-cli
-
Note: All the available features are described in the
wasmer-cli
crate docscargo install wasmer-cli
Looking for more installation options? See the
wasmer-install
repository to learn more!
Note: You can also try Wasmer online in wasmer.sh
You can start by running Cowsay:
$ wasmer run cowsay "hello world"
_____________
< hello world >
-------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
There are many more available packages, such as
wasmer/python
orquickjs
. Create your own package, or explore packages from the community: https://wasmer.io/explore
You can use the Wasmer runtime embedded in different languages with the Wasmer SDK:
Language | Package | Documentation | |
---|---|---|---|
Rust | wasmer Rust crate |
Learn | |
C | wasm.h header |
Learn | |
C++ | wasm.hh header |
Learn | |
C# | WasmerSharp NuGet package |
Learn | |
D | wasmer Dub package |
Learn | |
Zig | wasmer Zig package |
Learn | |
Python | wasmer PyPI package |
Learn | |
Javascript | @wasmerio NPM packages |
Learn | |
Go | wasmer Go package |
Learn | |
PHP | wasm PECL package |
Learn | |
Ruby | wasmer Ruby Gem |
Learn | |
Java | wasmer/wasmer-jni Bintray package |
Learn | |
R | no published package | Learn | |
Postgres | no published package | Learn | |
Swift | no published package | ||
Dart | wasm pub package |
||
Crystal | no published package | Learn | |
Lisp | no published package | ||
Julia | no published package | ||
V | no published package | ||
OCaml | wasmer OCaml package |
We have different guides to help you develop Wasmer:
We appreciate your help! ๐
We recommend reading the following guide on how to contribute into a complex project successfully: https://mitchellh.com/writing/contributing-to-complex-projects
Check our docs on how to build Wasmer from source or test your changes.
Wasmer has an amazing community of developers and contributors. Welcome, please join us! ๐
README also in: ๐จ๐ณ ไธญ ๆ -Chinese โข ๐ฉ๐ช Deutsch-German โข ๐ช๐ธ Espaรฑol-Spanish โข ๐ซ๐ท Franรงais-French โข ๐ฏ๐ต ๆฅๆฌ ่ช -Japanese โข ๐ฐ๐ท ํ๊ตญ์ด -Korean.