Skip to content

Simple tool that just install & update zig nightly.

License

Notifications You must be signed in to change notification settings

CraigglesO/night.zig

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

night.zig

Simple tool that just install & update zig nightly.

Usage

USAGE:
    nz <SUBCOMMAND>

SUBCOMMANDS:
    update    Update zig nightly toolchain & nz itself
    version   Show nz version info
    help      Show this message

Dependencies

  • bash
  • curl
  • jq
  • basename
  • tar

Installation

Run this in terminal:

curl "https://raw.githubusercontent.com/jsomedon/night.zig/main/nz" | bash -s -- update

Uninstallation

Both nz and nightly bins are installed in ~/.night.zig/, so just remove that folder:

rm -rf ~/.night.zig

Rant

I just started looking into zig yesterday, and I couldn't believe fine folks of zig community are manually grabbing the nightly bins without any tools? So here we have this one.

I didn't fully test architecture & os detection logic, only on x86_64-linux and aarch64-macos.

I may rewrite this little tool in zig when I get comfortable enough with zig, so that you don't need dependencies and what not. But no promise on that.

License

MIT

About

Simple tool that just install & update zig nightly.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%