Appearance
vix registry
Manage the Vix Registry (Git-based package index).
Usage
bash
vix registry <subcommand>Subcommands
bash
sync Clone or update the registry index (git-based)
path Print local registry index pathDescription
The Vix Registry is:
- A Git repository
- Fully offline after sync
- Serverless (no API, no authentication)
- Deterministic and commit-pinned
It maps:
<namespace>/<name>@<version> -> immutable git commit SHAThis guarantees reproducible builds.
First Step
Before searching or adding packages:
bash
vix registry syncThis clones or updates the local registry index.
Examples
Sync registry:
bash
vix registry syncPrint local registry path:
bash
vix registry pathSearch locally:
bash
vix search treeAdd dependency:
bash
vix add gaspardkirira/tree@0.1.0Publishing a Package
Publishing updates the registry by creating a branch and opening a PR.
bash
vix publish 0.2.0Requirements:
- You must be inside your library Git repo
- Tag must exist:
v<version> - Registry must be synced
bash
git tag v0.2.0
git push origin v0.2.0
vix registry sync
vix publish 0.2.0Registry Design (V1)
- Pure Git model
- No centralized service
- No runtime dependency on remote APIs
- All searches are local after sync
- Lockfiles pin exact commit SHAs
This keeps dependency resolution transparent and reproducible.
Related Commands
bash
vix search <query>
vix add <pkg>@<version>
vix list
vix remove <pkg>
vix publish <version>The Vix registry is minimal, deterministic, and Git-native by design.