zpm

Crates.iozpm
lib.rszpm
version0.1.0
created_at2025-12-31 08:25:56.368205+00
updated_at2025-12-31 08:25:56.368205+00
descriptionA fast, lightweight Zig version manager written in Rust.
homepage
repository
max_upload_size
id2014238
size236,613
EdwardXie (EdwardJoke)

documentation

README

zpm

A fast, lightweight Zig version manager written in Rust.

Demo

zpm demo

Features

  • Install multiple Zig versions (latest, master, stable, or specific versions)
  • Set a default Zig version
  • Uninstall unwanted Zig versions
  • List installed Zig versions
  • Install ZLS (Zig Language Server) for the current Zig version
  • Fast and efficient downloads
  • Lightweight and minimal dependencies

Installation

# Install from source
cargo install --path .

# Install from crates.io
cargo install zpm

# Or install from crates.io (once published)
cargo install zpm

Usage

Install a Zig version

# Install the latest version
zpm install
zpm i

# Install a specific version
zpm install 0.13.0
zpm i 0.13.0

# Install and set as default
zpm install --default 0.13.0
zpm i -d 0.13.0

# Install master branch
zpm install master

# Install stable version
zpm install stable

Set default Zig version

zpm use 0.13.0

Uninstall a Zig version

zpm uninstall 0.13.0
zpm rm 0.13.0

List installed versions

zpm list
zpm ls

Install ZLS for current version

zpm install-zls

Requirements

  • Rust 1.70+ (for building)
  • Zig (for usage)
  • Internet connection (for downloading Zig versions)

License

Apache 2.0

Commit count: 0

cargo fmt