Back to Wasmer

README

README.md

7.1.014.7 KB
Original Source
<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)">
</picture>
</a> <p> <a href="https://github.com/wasmerio/wasmer/releases">
</a>
<a href="https://github.com/wasmerio/wasmer/blob/main/LICENSE">
  
</a>
<a href="https://docs.wasmer.io">
  
</a>
<a href="https://discord.gg/rWkMNStrEW">
  
</a>
<a href="https://x.com/wasmerio">
  
</a>  
</p> </div>

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

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

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

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

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

    sh
    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

    sh
    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:

bash
$ 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
Rustwasmer Rust crateLearn
Cwasm.h headerLearn
C++wasm.hh headerLearn
C#WasmerSharp NuGet packageLearn
Dwasmer Dub packageLearn
Zigwasmer Zig packageLearn
Pythonwasmer PyPI packageLearn
Javascript@wasmerio NPM packagesLearn
Gowasmer Go packageLearn
PHPwasm PECL packageLearn
Rubywasmer Ruby GemLearn
Javawasmer/wasmer-jni Bintray packageLearn
Rno published packageLearn
Rno published packageLearn
Postgresno published packageLearn
Swiftno published package
Dartwasm pub package
Crystalno published packageLearn
Lispno published package
Juliano published package
Vno published package
OCamlwasmer 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"> </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.