wasmer README

The project's README from github.com/wasmerio/wasmer. As one markdown file: README.md.

Wasmer logo

Github release License Wasmer Docs Wasmer on Discord Wasmer on X


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.

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
    

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

Language Package Documentation
Rust logo Rust wasmer Rust crate Learn
C logo C wasm.h header Learn
C++ logo C++ wasm.hh header Learn
C# logo C# WasmerSharp NuGet package Learn
D logo D wasmer Dub package Learn
Zig logo Zig wasmer Zig package Learn
Python logo Python wasmer PyPI package Learn
JS logo Javascript @wasmerio NPM packages Learn
Go logo Go wasmer Go package Learn
PHP logo PHP wasm PECL package Learn
Ruby logo Ruby wasmer Ruby Gem Learn
Java logo Java wasmer/wasmer-jni Bintray package Learn
R logo R no published package Learn
R logo R no published package Learn
Postgres logo Postgres no published package Learn
Swift logo Swift no published package
Dart logo Dart wasm pub package
Crystal logo Crystal no published package Learn
Lisp logo Lisp no published package
Julia logo Julia no published package
VLang logo V no published package
Ocaml logo OCaml wasmer 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.

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.

wasmer (wasmerio/wasmer)

Searching Database…

21.2K ·GitHub
这是什么?Wasmer 是一个速度极快且安全的 WebAssembly 运行时:它能把应用当作极其轻量的容器,在任何地方运行——桌面、云端、边缘设备或浏览器——速度接近原生。
Wasmer 是我用来运行应用的工具,还是嵌到我代码里的库?两者都是:Wasmer 命令行工具可以像轻量级容器一样在你的电脑上运行 WebAssembly 包,同一个运行时也可以通过 Wasmer SDK 嵌入到你自己的应用中。
怎么安装,怎么跑第一个应用?一条命令即可:bash 一行式命令、Brew、Cargo,或 Windows 上的 PowerShell。第一次运行可以用 wasmer run cowsay,也可以不装任何东西,直接在 wasmer.sh 在线体验。
在 Wasmer 里运行的程序能在我的电脑上做什么?默认什么都做不了:除非你明确开启权限,否则无法访问文件、网络或环境变量——这正是它能安全运行不可信代码的原因。
它能在 Windows 上用吗,还是只支持 Linux 和 macOS?三大桌面系统都支持:Linux、macOS 和 Windows 都有官方安装包,另外还有 wasmer.sh,可以直接在浏览器里运行。
WASIX 是什么,我需要它吗?WASI 和 WASIX 是系统接口,让 WebAssembly 应用可以使用文件、网络等操作系统功能;Wasmer 开箱即支持这两者,无需额外配置。
Wasmer Edge 是什么?平台的托管服务,你可以在上面部署自己的网站:有免费套餐,GitHub 用户还能凭借开源贡献领取最高 200 美元的 Edge 额度。
What are similar projects?wasmtime, deno, emscripten, tinygo, pdfcraft, scriptc, astrid, WasmEdge
Creator
wasmerio
Size
3.4 GB
Stars
21.2K
Age
8y
Commits · 90 Days