https://github.com/lucascompython/zigup
A small utility to update your Zig installation to the latest version
https://github.com/lucascompython/zigup
Last synced: 10 months ago
JSON representation
A small utility to update your Zig installation to the latest version
- Host: GitHub
- URL: https://github.com/lucascompython/zigup
- Owner: lucascompython
- Created: 2025-02-08T00:12:15.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-28T10:57:24.000Z (11 months ago)
- Last Synced: 2025-03-28T11:39:04.153Z (11 months ago)
- Language: PowerShell
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Zigup
A small utility to update your Zig installation to the latest version.
It's not supposed to be a Zig compiler manager, just a simple way to keep your Zig installation up to date.
Only works for x86_64-linux and x86_64-windows.
## How does it work?
It downloads the latest version of master branch from the [official download page](https://ziglang.org/download/) and replaces the current installation with the new one.
It's the simple.
For Linux a symlink is created in /usr/local/bin/zig to the zig binary.
For Windows the PATH environment variable is updated to include the zig path.
## How to use it?
```bash
# Linux
./zigup.sh
# Windows
./zigup.ps1
```