![]()
Some checks failed
cifuzz.yaml / Merge pull request #5707 from heiher/unique-func-name (push) Failing after 0s
Builds / Set up (push) Has been cancelled
Builds / Windows GNU (push) Has been cancelled
Builds / macOS aarch64 (JSC) (push) Has been cancelled
Builds / macOS x86_64 (JSC) (push) Has been cancelled
Builds / Linux riscv64 (push) Has been cancelled
Documentation / Documentation (push) Has been cancelled
test-sys / Set up (push) Has been cancelled
test-sys / Code lint (push) Has been cancelled
test-sys / cargo-deny (push) Has been cancelled
test-sys / Test on NodeJS (push) Has been cancelled
test-sys / Test wasi-fyi (push) Has been cancelled
test-sys / Test WASIX (push) Has been cancelled
test-sys / Test wasm build (push) Has been cancelled
test-sys / Test JSC build (push) Has been cancelled
test-sys / Test API for v8 feature on linux-x64 (push) Has been cancelled
test-sys / Test API for v8 feature on macos-arm (push) Has been cancelled
test-sys / Test API for wamr feature on linux-x64 (push) Has been cancelled
test-sys / Test API for wamr feature on macos-arm (push) Has been cancelled
test-sys / Test API for wasmi feature on linux-x64 (push) Has been cancelled
test-sys / Test API for wasmi feature on macos-arm (push) Has been cancelled
test-sys / Test build docs rs (push) Has been cancelled
test-sys / Build C-API on linux-aarch64 (push) Has been cancelled
test-sys / Build wasmer-cli on linux-aarch64 (push) Has been cancelled
test-sys / Build C-API on linux-riscv64 (push) Has been cancelled
test-sys / Build wasmer-cli on linux-riscv64 (push) Has been cancelled
wasmer-config / Compile and Test (push) Has been cancelled
wasmer-config / Linting and Formatting (push) Has been cancelled
Builds / Build on macos-x64 (push) Has been cancelled
Builds / Build on macos-arm64 (push) Has been cancelled
Builds / Build on linux-arm64 (push) Has been cancelled
Builds / Build on linux-x64 (push) Has been cancelled
Builds / Build on windows-x64 (push) Has been cancelled
Builds / release (push) Has been cancelled
test-sys / Build and test C-API on linux-musl (push) Has been cancelled
test-sys / Build and test C-API on linux-x64 (push) Has been cancelled
test-sys / Build and test C-API on macos-arm (push) Has been cancelled
test-sys / Build and test C-API on macos-x64 (push) Has been cancelled
test-sys / Build and test C-API on windows-gnu (push) Has been cancelled
test-sys / Build and test C-API on windows-x64 (push) Has been cancelled
test-sys / Build wasmer-cli on linux-musl (push) Has been cancelled
test-sys / Build wasmer-cli on linux-x64 (push) Has been cancelled
test-sys / Build wasmer-cli on macos-arm (push) Has been cancelled
test-sys / Build wasmer-cli on macos-x64 (push) Has been cancelled
test-sys / Build wasmer-cli on windows-gnu (push) Has been cancelled
test-sys / Build wasmer-cli on windows-x64 (push) Has been cancelled
test-sys / Check wasmer API with all sys features enabled on linux-musl (push) Has been cancelled
test-sys / Check wasmer API with all sys features enabled on linux-x64 (push) Has been cancelled
test-sys / Check wasmer API with all sys features enabled on macos-arm (push) Has been cancelled
test-sys / Check wasmer API with all sys features enabled on macos-x64 (push) Has been cancelled
test-sys / Check wasmer API with all sys features enabled on windows-gnu (push) Has been cancelled
test-sys / Check wasmer API with all sys features enabled on windows-x64 (push) Has been cancelled
test-sys / Build and test C-API with v8 on linux-musl (push) Has been cancelled
test-sys / Build and test C-API with v8 on linux-x64 (push) Has been cancelled
test-sys / Build and test C-API with v8 on macos-arm (push) Has been cancelled
test-sys / Build and test C-API with v8 on macos-x64 (push) Has been cancelled
test-sys / Build and test C-API with v8 on windows-gnu (push) Has been cancelled
test-sys / Build and test C-API with v8 on windows-x64 (push) Has been cancelled
test-sys / Run wast test suite for all compilers on linux-musl (push) Has been cancelled
test-sys / Unit-test cranelift on no-std on linux-musl (push) Has been cancelled
test-sys / Unit-test examples on linux-musl (push) Has been cancelled
test-sys / Unit-test packages on std on linux-musl (push) Has been cancelled
test-sys / Unit-test singlepass on no-std on linux-musl (push) Has been cancelled
test-sys / Unit-test wasmer-cli on linux-musl (push) Has been cancelled
test-sys / Run wast test suite for all compilers on linux-x64 (push) Has been cancelled
test-sys / Unit-test cranelift on no-std on linux-x64 (push) Has been cancelled
test-sys / Unit-test examples on linux-x64 (push) Has been cancelled
test-sys / Unit-test packages on std on linux-x64 (push) Has been cancelled
test-sys / Unit-test singlepass on no-std on linux-x64 (push) Has been cancelled
test-sys / Unit-test wasmer-cli on linux-x64 (push) Has been cancelled
test-sys / Run wast test suite for all compilers on macos-arm (push) Has been cancelled
test-sys / Unit-test cranelift on no-std on macos-arm (push) Has been cancelled
test-sys / Unit-test examples on macos-arm (push) Has been cancelled
test-sys / Unit-test packages on std on macos-arm (push) Has been cancelled
test-sys / Unit-test singlepass on no-std on macos-arm (push) Has been cancelled
test-sys / Unit-test wasmer-cli on macos-arm (push) Has been cancelled
test-sys / Run wast test suite for all compilers on macos-x64 (push) Has been cancelled
test-sys / Unit-test cranelift on no-std on macos-x64 (push) Has been cancelled
test-sys / Unit-test examples on macos-x64 (push) Has been cancelled
test-sys / Unit-test packages on std on macos-x64 (push) Has been cancelled
test-sys / Unit-test singlepass on no-std on macos-x64 (push) Has been cancelled
test-sys / Unit-test wasmer-cli on macos-x64 (push) Has been cancelled
test-sys / Run wast test suite for all compilers on windows-x64 (push) Has been cancelled
test-sys / Unit-test cranelift on no-std on windows-x64 (push) Has been cancelled
test-sys / Unit-test examples on windows-x64 (push) Has been cancelled
test-sys / Unit-test packages on std on windows-x64 (push) Has been cancelled
test-sys / Unit-test singlepass on no-std on windows-x64 (push) Has been cancelled
test-sys / Unit-test wasmer-cli on windows-x64 (push) Has been cancelled
test-sys / CLI integration tests on linux-musl (push) Has been cancelled
test-sys / CLI integration tests on linux-x64 (push) Has been cancelled
test-sys / CLI integration tests on macos-arm (push) Has been cancelled
test-sys / CLI integration tests on macos-x64 (push) Has been cancelled
test-sys / CLI integration tests on windows-x64 (push) Has been cancelled
test-sys / test-wasmer-integration-tests (push) Has been cancelled
compiler: Ensure unique function symbols by appending function index |
||
---|---|---|
.config | ||
.github | ||
assets | ||
benches | ||
docs | ||
examples | ||
fuzz | ||
lib | ||
scripts | ||
tests | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml | ||
CHANGELOG.md | ||
deny.toml | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
Makefile | ||
README.md | ||
rust-toolchain |
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
Install Wasmer
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
Quickstart
Tip
As part of our commitment to open source, we want to reward all GitHub users. In addition to the free tier, you can get up to $200 in Wasmer Edge credits for your open-source contributions - Claim here.
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
Here is what you can do next:
Wasmer SDK
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 |
Develop
We have different guides to help you develop Wasmer:
Contribute
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.
Community
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.