Crates.io | wasmenv |
lib.rs | wasmenv |
version | 0.2.4 |
source | src |
created_at | 2023-05-26 15:54:08.631765 |
updated_at | 2024-07-25 18:01:41.406856 |
description | wasmenv - a version manager for wasm runtimes |
homepage | |
repository | |
max_upload_size | |
id | 875136 |
size | 80,154 |
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.
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
$ 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
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.