Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hendriknielaender/zvm

⚡ Fast and simple zig version manager
https://github.com/hendriknielaender/zvm

version version-manager zig ziglang zvm

Last synced: 2 months ago
JSON representation

⚡ Fast and simple zig version manager

Awesome Lists containing this project

README

        


zvm logo



⚡ Zig Version Manager (zvm)


⚡ Fast and simple zig version manager




zvm is a command-line tool that allows you to easily install, manage, and switch between multiple versions of Zig.

## Features

- List available Zig versions.
- Install specific Zig versions.
- Switch between installed Zig versions.
- Set a default Zig version.

## Install

To install zvm with Homebrew, aka. `brew`, run the following commands:

```bash
brew tap hendriknielaender/zvm
brew install zvm
```

Now add this line to your `~/.bashrc`, `~/.profile`, or `~/.zshrc` file.

```bash
export PATH="$HOME/.zm/current:$PATH"
```

### Windows

#### PowerShell

```ps1
irm https://raw.githubusercontent.com/hendriknielaender/zvm/master/install.ps1 | iex
```

#### Command Prompt

```cmd
powershell -c "irm https://raw.githubusercontent.com/hendriknielaender/zvm/master/install.ps1 | iex"
```

## Usage
```bash
zvm list # List all available Zig versions
zvm install # Install a specified Zig version
zvm use # Switch to a specified Zig version for the current session
zvm default # Set a specified version as the default
zvm current # Display the currently active Zig version
zvm --help # Displays help information
zvm --version # Display zvm version
```

### Compatibility Notes
Zig is in active development and the APIs can change frequently, making it challenging to support every dev build. This project currently aims to be compatible with stable, non-development builds to provide a consistent experience for the users.

***Supported Version***: As of now, zvm is tested and supported on Zig version ***0.13.0***.

### Contributing
Contributions, issues, and feature requests are welcome!

### Clarification
Please note that our project is **not** affiliated with [ZVM](https://github.com/tristanisham/zvm) maintained by @tristanisham. Both projects operate independently, and any similarities are coincidental.