#version-manager #wasmer #runtimes #wasmtime #shell #install

app wasmenv

wasmenv - a version manager for wasm runtimes

9 releases

new 0.2.3 Apr 26, 2024
0.2.2 Apr 26, 2024
0.1.6 Mar 24, 2024
0.1.3 Jun 16, 2023
0.1.1 May 26, 2023

#801 in WebAssembly

Download history 12/week @ 2024-02-23 10/week @ 2024-03-01 2/week @ 2024-03-08 5/week @ 2024-03-15 217/week @ 2024-03-22 49/week @ 2024-03-29 1/week @ 2024-04-05 60/week @ 2024-04-19

117 downloads per month

MIT license

28KB
663 lines

wasmenv

wasmenv is a Rust-based version manager for wasm runtimes. Right now wasmtime supports wasmer only. This project allows you to easily switch between different versions of wasmer, manage installations, and configure your shell environment.

Installation

To install wasmenv from crates.io:

cargo install wasmenv

To develop wasmenv, clone the repository and build it using Cargo:

git clone https://github.com/ayys/wasmenv.git
cd wasmenv
cargo build --release
export PATH=$PATH:$PWD/target/release

Usage

$ wasmenv --help

Usage: wasmenv <COMMAND>

Commands:
  current  Display the currently active version of wasmer
  shell    Configure wasmenv for a specific shell (bash, zsh, fish)
  use      Install wasmer
  list     List all the available versions of wasmer
  exec     Run command with wasmer
  help     Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Dependencies

~10–25MB
~408K SLoC