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

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

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
```