LordMZTE 412287cb40
chore: update Zig & deps
2024-02-09 19:19:09 +01:00
src chore: update Zig & deps 2024-02-09 19:19:09 +01:00
.gitignore initial commit 2022-12-06 20:28:20 +01:00
.woodpecker.yml ci: pull zig image 2023-08-16 21:59:32 +02:00
LICENSE initial commit 2022-12-06 20:28:20 +01:00
README.md docs: be more clear about zig version required 2023-09-26 23:27:09 +02:00
build.zig chore: update Zig & deps 2024-02-09 19:19:09 +01:00
build.zig.zon chore: update Zig & deps 2024-02-09 19:19:09 +01:00

README.md

zupper

A Zig version manager, written in zig.

WARNING: zupper is alpha software! Expect bugs!

features

  • managing multiple zig installations
    • installing zig
    • switching zig installations
    • removing installations
    • automatic updates
  • fancy CLI
  • concurrent downloading and unpacking
  • multi-platform support (actually, not sure about windows xD)
  • tiny binary (211 KB)
  • few native dependencies
  • written in zig

building

Linux

Zupper requires libarchive to be installed. libarchive is used to unpack the compiler toolchain. This dependency will probably be swapped out for zig a version at some point once a suitable library pops up.

  1. Install the dependencies.

You probably already have them installed, but just to make sure, here are the commands to install them.

Arch:

pacman -S --needed \
    libarchive

Debian:

apt install \
    libarchive-dev
  1. Install the zig toolchain

Zupper requires the development version of Zig (0.12.0 at the time of writing). Make sure you install one of the latest versions of Zig.

  1. Build it!
zig build -Doptimize=ReleaseFast -p ~/.local

macOS

I'll be honest here, I got no idea.

You should be able to do it in a similar fashion to Linux.

windows

It might work if you can get the dependencies working. Maybe, I'll add static linking some day.

As for now, good luck lol.