Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/d2verb/zigenv
env tool for ziglang
https://github.com/d2verb/zigenv
zig ziglang
Last synced: 17 days ago
JSON representation
env tool for ziglang
- Host: GitHub
- URL: https://github.com/d2verb/zigenv
- Owner: d2verb
- License: mit
- Created: 2018-12-30T17:43:44.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-01-14T14:05:32.000Z (19 days ago)
- Last Synced: 2025-01-14T15:27:48.158Z (19 days ago)
- Topics: zig, ziglang
- Language: Shell
- Size: 17.6 KB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> [!WARNING]
> This repository is no longer maintained. You can use [zvm](https://github.com/tristanisham/zvm) or other tools to manage your Zig versions nowadays.## What's this?
zigenv is a tool to manage multiple zig versions.## Install
zigenv is installed by running one of the following commands in your terminal.
You can install this via the command-line with either `curl`, `wget` or another similar tool.| Method | Command |
| :-------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **curl** | `sh -c "$(curl -fsSL https://raw.githubusercontent.com/d2verb/zigenv/master/zigenv-init.sh)" && . $HOME/.zigenv/zigenv-init.sh && zigenv install 0.13.0 && zigenv change 0.13.0` |
| **wget** | `sh -c "$(wget -O- https://raw.githubusercontent.com/d2verb/zigenv/master/zigenv-init..sh)" && . $HOME/.zigenv/zigenv-init.sh && zigenv install 0.13.0 && zigenv change 0.13.0` |
| **fetch** | `sh -c "$(fetch -o - https://raw.githubusercontent.com/d2verb/zigenv/master/zigenv-init.sh)" && . $HOME/.zigenv/zigenv-init.sh && zigenv install 0.13.0 && zigenv change 0.13.0` |## Usage
Install new zig version.
```
$ zigenv install builds # version master
$ zigenv install 0.3.0 # version 0.3.0
```Change current zig version.
```
$ zigenv change builds # version master
$ zigenv change 0.3.0 # version 0.3.0
```Show help message.
```
$ zigenv help
Usage: zigenv []
Some useful zigenv commands are:
change Change current zig version
install Install a zig version
uninstall Uninstall a specific zig version
version Show the current zig version
versions List all zig versions available to zigenv
```## License
[The MIT License](LICENSE)