Thanks to visit codestin.com
Credit goes to github.com

Skip to content

stianhj/zi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zi: a zig installer

zi is a basic tool that helps you install specific versions of Zig from the official index. It can also install ZLS, either from GitHub releases or by building it from source for use with the latest Zig version.

Usage

Usage:
    zi [OPTIONS] [SUBCOMMAND]

Subcommands:
    ls                   List Zig versions
    install <version>    Install a specific Zig version
    use [version]        Switch to a specific local Zig version,
                         using .zirc if version is omitted

Flags:
    -h, --help           Print help information
    -V, --version        Print version information

Flags for `ls` subcommand:
    -r, --remote         List only remote versions
    -l, --local          List only local versions

Flags for `install` subcommand:
    -f, --force          Remove the existing download if it exists
    -s, --skip-zls       Skip downloading and/or linking the ZLS executable

Flags for `use` subcommand:
    --zls                Change only the ZLS version, useful for mismatching
                         ZLS and Zig versions

Environment variables:
    ZI_INSTALL_DIR       Directory to install Zig versions
                         (default: $HOME/.zi)
    ZI_LINK_DIR          Directory to create symlinks for the active Zig version
                         (default: $HOME/.local/bin)

About

A Zig/ZLS installer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Zig 100.0%