https://github.com/ayys/wasmenv
Wasmenv - a version manager for wasm runtimes
https://github.com/ayys/wasmenv
cli rust wasm wasmer wasmtime
Last synced: about 2 months ago
JSON representation
Wasmenv - a version manager for wasm runtimes
- Host: GitHub
- URL: https://github.com/ayys/wasmenv
- Owner: ayys
- License: mit
- Created: 2023-04-25T07:18:28.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-01-04T19:16:36.000Z (5 months ago)
- Last Synced: 2025-02-13T18:42:31.233Z (3 months ago)
- Topics: cli, rust, wasm, wasmer, wasmtime
- Language: Rust
- Homepage:
- Size: 124 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```shell
cargo install wasmenv
```To develop `wasmenv`, clone the repository and build it using Cargo:
```shell
git clone https://github.com/ayys/wasmenv.git
cd wasmenv
cargo build --release
export PATH=$PATH:$PWD/target/release
```## Usage
```shell
$ wasmenv --helpUsage: wasmenv
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](https://choosealicense.com/licenses/mit/)