{"id":24340880,"url":"https://github.com/4thel00z/zig-installer","last_synced_at":"2026-04-28T01:31:46.566Z","repository":{"id":272831599,"uuid":"917623710","full_name":"4thel00z/zig-installer","owner":"4thel00z","description":"zig-installer, installs any recent zig version for you, straight from the zig homepage. Written in go.","archived":false,"fork":false,"pushed_at":"2025-01-16T21:09:54.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-24T20:11:36.420Z","etag":null,"topics":["install","version-manager","zig","ziglang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/4thel00z.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2025-01-16T10:43:39.000Z","updated_at":"2025-01-16T21:09:55.000Z","dependencies_parsed_at":"2025-01-16T22:22:23.403Z","dependency_job_id":"9f165331-0523-4caf-908a-0ab43c5d5d0e","html_url":"https://github.com/4thel00z/zig-installer","commit_stats":null,"previous_names":["4thel00z/zig-installer"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/4thel00z/zig-installer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4thel00z%2Fzig-installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4thel00z%2Fzig-installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4thel00z%2Fzig-installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4thel00z%2Fzig-installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/4thel00z","download_url":"https://codeload.github.com/4thel00z/zig-installer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4thel00z%2Fzig-installer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32362780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["install","version-manager","zig","ziglang"],"created_at":"2025-01-18T07:12:30.576Z","updated_at":"2026-04-28T01:31:46.545Z","avatar_url":"https://github.com/4thel00z.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ```zig-installer```\n![GPL-3 License](./LICENSE)\n\n## What this project is about\n\nA cli for installing the Zig compiler.\nIt automatically downloads, verifies, and installs Zig from official releases with support for custom installation paths and multiple versions.\n\n## Installation\n\n```bash\ngo install github.com/4thel00z/zig-installer/...@latest\n```\n\n\n## Usage Examples\n\n### Basic Installation\n```bash\nsudo zig-installer\n```\nThis will grab the latest master version and install it to `/usr/local`.\n\n### Install Specific Version\n```bash\nsudo zig-installer --version=0.11.0\n```\n\n### Custom Installation Path\n```bash\nsudo zig-installer \\\n  --bin-dir=/opt/zig/bin \\\n  --lib-dir=/opt/zig/lib\n```\n\n### Using Environment Variables\n```bash\nexport ZIG_VERSION=0.11.0\nexport ZIG_BIN_DIR=/opt/zig/bin\nexport ZIG_LIB_DIR=/opt/zig/lib\nsudo zig-installer\n```\n\n## Configuration Options\n\n| Flag | Environment Variable | Default | Description |\n|------|---------------------|---------|-------------|\n| `--version` | `ZIG_VERSION` | master | Version to install |\n| `--bin-dir` | `ZIG_BIN_DIR` | /usr/local/bin | Binary installation path |\n| `--lib-dir` | `ZIG_LIB_DIR` | /usr/local/lib | Library installation path |\n| `--tar-dest` | `ZIG_TAR_DEST` | /tmp/zig.tar.xz | Download location |\n| `--dest` | `ZIG_DEST` | /tmp/zig | Temporary extraction path |\n| `--index-url` | `ZIG_INDEX_URL` | ziglang.org/... | Download index URL |\n\n## Features\n\n- 🚀 Fast downloads\n- 📦 Proper library installation\n- 🔧 Highly configurable\n- 🖥️ Cross-platform support\n- 🔐 Checksum verification\n\n## Sample Output\n\n```\n💡 info: found existing file, checking checksum...\n✅ success: existing file matches checksum, skipping download\n👉 step: extracting...\n👉 step: installing...\n👉 step: cleaning up...\n✅ success: Zig 0.11.0 installed successfully! 🎉\n```\n## Troubleshooting\n\n### Permission Errors\n```bash\n# Run with sudo for system directories\nsudo zig-installer\n```\n\n### Custom Location Without Root\n```bash\n# Install to user-owned directory\nzig-installer --bin-dir=$HOME/.local/bin --lib-dir=$HOME/.local/lib\n```\n## License\n\nThis project is licensed under the GPL-3 license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4thel00z%2Fzig-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F4thel00z%2Fzig-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4thel00z%2Fzig-installer/lists"}