{"id":29210894,"url":"https://github.com/rosarp/nu-zigup","last_synced_at":"2025-07-27T13:03:45.713Z","repository":{"id":301621227,"uuid":"1008939750","full_name":"rosarp/nu-zigup","owner":"rosarp","description":"Nushell script to install/update zig \u0026 zls","archived":false,"fork":false,"pushed_at":"2025-07-19T06:47:54.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-19T11:23:26.635Z","etag":null,"topics":["package-manager","zig","zls"],"latest_commit_sha":null,"homepage":"","language":"Nushell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rosarp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-26T10:23:47.000Z","updated_at":"2025-07-19T06:42:07.000Z","dependencies_parsed_at":"2025-06-27T21:21:51.630Z","dependency_job_id":"d725ac5f-75e7-435f-91c3-194042bb2243","html_url":"https://github.com/rosarp/nu-zigup","commit_stats":null,"previous_names":["rosarp/nu-zigup"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rosarp/nu-zigup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosarp%2Fnu-zigup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosarp%2Fnu-zigup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosarp%2Fnu-zigup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosarp%2Fnu-zigup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rosarp","download_url":"https://codeload.github.com/rosarp/nu-zigup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosarp%2Fnu-zigup/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267361489,"owners_count":24074938,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["package-manager","zig","zls"],"created_at":"2025-07-02T22:00:49.830Z","updated_at":"2025-07-27T13:03:45.706Z","avatar_url":"https://github.com/rosarp.png","language":"Nushell","readme":"# nu-zigup\n\nA Nushell script to install, update, and manage Zig compiler and Zig Language Server (ZLS) installations.\n\n## Overview\n\nnu-zigup helps you manage multiple versions of the Zig compiler and ZLS. It allows you to:\n\n- Download and install specific Zig versions\n- Switch between installed versions\n- Keep up with nightly (master) builds\n- Install and manage ZLS for each Zig version\n- Create symlinks to make Zig and ZLS available in your PATH\n\n## Installation\n\n1. Make sure you have [Nushell](https://www.nushell.sh/) installed\n2. Clone this repository\n3. Make the script executable: `chmod +x zigup`\n4. Optionally, add the script to your PATH\n\n## Commands\n\n### Basic Usage\n\n```nushell\n# Show help information\nzigup\n\n# Download and set a specific version as default (defaults to master)\nzigup install [VERSION]\n\n# Download a specific version without setting as default (defaults to master)\nzigup fetch [VERSION]\n\n# Update to the latest master build (removes existing master first)\nzigup master\n\n# List installed compiler versions\nzigup list\n```\n\n### Installation Directory Management\n\n```nushell\n# Print the current installation directory\nzigup get-install-dir\n\n# Set the default installation directory\nzigup set-install-dir [PATH]\n```\n\n### Symlink Management\n\n```nushell\n# Create a symlink to zig in the specified PATH\nzigup ln-zig PATH\n\n# Create a symlink to zls in the specified PATH\nzigup ln-zls PATH\n```\n\n### Advanced Usage\n\n```nushell\n# Download and update versions.json with available zig versions\nzigup get-version-list\n\n# Verify shasum \u0026 size of downloaded files\nzigup verify-integrity\n```\n\n## Configuration\n\nBy default, nu-zigup stores all downloads and configuration in `~/.local/share/nu-zigup`. You can change this location using the `set-install-dir` command.\n\n## How It Works\n\nnu-zigup downloads Zig and ZLS binaries from their official sources and manages them locally. It creates symlinks to make the selected versions available as `zig` and `zls` commands.\n\nThe script keeps track of available versions using a versions.json file, which can be updated with the `get-version-list` command. By default, it tracks versions from the past 78 weeks (~1.5 years).\n\n## Requirements\n\n- Nushell\n- Basic Unix utilities (tar, ln, etc.)\n\n## License\n\nMIT\n","funding_links":[],"categories":["Fundamentals"],"sub_categories":["Package and Version Manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frosarp%2Fnu-zigup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frosarp%2Fnu-zigup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frosarp%2Fnu-zigup/lists"}