#版本管理器 #wasmer #shell环境 #运行时 #不同 #配置

app wasmenv

wasmenv - wasm运行时的版本管理器

10 个版本

0.2.4 2024年7月25日
0.2.3 2024年4月26日
0.1.6 2024年3月24日
0.1.3 2023年6月16日
0.1.1 2023年5月26日

#359WebAssembly

Download history 178/week @ 2024-04-27 11/week @ 2024-05-04 1/week @ 2024-06-29 7/week @ 2024-07-06 104/week @ 2024-07-20 110/week @ 2024-07-27 1/week @ 2024-08-03

每月 215 下载

MIT 许可证

29KB
665 代码行

wasmenv

wasmenv 是一个基于Rust的wasm运行时的版本管理器。目前wasmtime只支持 wasmer。此项目允许您轻松地在不同的 wasmer 版本之间切换,管理安装,并配置您的shell环境。

安装

从crates.io安装 wasmenv

cargo install wasmenv

为了开发 wasmenv,克隆仓库并使用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

贡献

欢迎提交拉取请求。对于主要更改,请先打开一个问题以讨论您希望更改的内容。

请确保根据需要更新测试。

许可证

MIT

依赖项

~10–27MB
~390K SLoC