back to home

wasmerio / wasmer

🚀 Fast, secure, lightweight containers based on WebAssembly

20,423 stars
927 forks
178 issues
RustCC++

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing wasmerio/wasmer in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind-ai.vercel.app/repo/wasmerio/wasmer)
Preview:Analyzed by RepoMind

Repository Summary (README)

Preview
<div align="center"> <a href="https://wasmer.io" target="_blank"> <picture> <source srcset="https://raw.githubusercontent.com/wasmerio/wasmer/master/assets/logo-white.png" media="(prefers-color-scheme: dark)"> <img width="300" src="https://raw.githubusercontent.com/wasmerio/wasmer/master/assets/logo.png" alt="Wasmer logo"> </picture> </a> <p> <a href="https://github.com/wasmerio/wasmer/releases"> <img src="https://shields.io/github/v/tag/wasmerio/wasmer" alt="Github release"> </a> <a href="https://github.com/wasmerio/wasmer/blob/main/LICENSE"> <img src="https://img.shields.io/github/license/wasmerio/wasmer.svg" alt="License"> </a> <a href="https://docs.wasmer.io"> <img src="https://img.shields.io/static/v1?label=Docs&message=docs.wasmer.io&color=blue" alt="Wasmer Docs"> </a> <a href="https://discord.gg/rWkMNStrEW"> <img src="https://img.shields.io/discord/1110300506942881873?label=Wasmer&logo=discord&logoColor=white" alt="Wasmer on Discord"> </a> <a href="https://x.com/wasmerio"> <img src="https://img.shields.io/twitter/follow/wasmerio" alt="Wasmer on X"> </a> </p> </div> <br />

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
<details> <summary>Other installation options (Powershell, Brew, Cargo, ...)</summary>

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
    
  • <a href="https://formulae.brew.sh/formula/wasmer">Homebrew</a> (macOS, Linux)

    brew install wasmer
    
  • <a href="https://github.com/ScoopInstaller/Main/blob/master/bucket/wasmer.json">Scoop</a> (Windows)

    scoop install wasmer
    
  • <a href="https://chocolatey.org/packages/wasmer">Chocolatey</a> (Windows)

    choco install wasmer
    
  • <a href="https://crates.io/crates/cargo-binstall/">Cargo binstall</a>

    cargo binstall wasmer-cli
    
  • <a href="https://crates.io/crates/wasmer-cli/">Cargo</a>

    Note: All the available features are described in the wasmer-cli crate docs

    cargo install wasmer-cli
    

Looking for more installation options? See the wasmer-install repository to learn more!

</details>

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 or quickjs. 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:

LanguagePackageDocumentation
Rust logoRustwasmer Rust crateLearn
C logoCwasm.h headerLearn
C++ logoC++wasm.hh headerLearn
C# logoC#WasmerSharp NuGet packageLearn
D logoDwasmer Dub packageLearn
Zig logoZigwasmer Zig packageLearn
Python logoPythonwasmer PyPI packageLearn
JS logoJavascript@wasmerio NPM packagesLearn
Go logoGowasmer Go packageLearn
PHP logoPHPwasm PECL packageLearn
Ruby logoRubywasmer Ruby GemLearn
Java logoJavawasmer/wasmer-jni Bintray packageLearn
R logoRno published packageLearn
R logoRno published packageLearn
Postgres logoPostgresno published packageLearn
Swift logoSwiftno published package
Dart logoDartwasm pub package
Crystal logoCrystalno published packageLearn
Lisp logoLispno published package
Julia logoJuliano published package
VLang logoVno published package
Ocaml logoOCamlwasmer OCaml package

👋  Missing a language?

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.

<!-- ## Bounties For some issues we offer paid bounties. You'll get paid automatically as soon as your PR solving the issue is merged! <a href="https://console.algora.io/org/wasmerio/bounties?status=open"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://console.algora.io/api/og/wasmerio/bounties.png?p=0&status=open&theme=dark"> <img alt="Bounties of wasmerio" src="https://console.algora.io/api/og/wasmerio/bounties.png?p=0&status=open&theme=light"> </picture> </a> -->

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.