hetrix init – first run
initialise your workspace and create the base directories.
workspace layout
~/hetrix/ ├── index.json # package registry (edit this) ├── installed.json # lock file (installed packages) ├── cfg.toml # configuration ├── bin/ # installed binaries ├── workspace/ # temporary build dirs (auto-cleaned) ├── repos/ # local source overrides └── src/ # hetrix source (if you cloned)
environment variables
HETRIX_DIR– base directory (default ~/hetrix)HETRIX_BIN– installed binaries (default ~/hetrix/bin)HETRIX_WORKSPACE– build dir (default ~/hetrix/workspace)HETRIX_INDEX– index.json path (default ~/hetrix/index.json)
first commands
hetrix init # create workspace hetrix list # show available packages hetrix fetch btop # install btop hetrix fetch --all # install everything in index.json