NeoniX package manager and build tooling for Neonix-like distributions. It can install packages from a signed repository index, build packages in a chroot, and package local projects into .nxpkg archives.
- Install, remove, and search packages from a remote repository.
- Signed
index.jsonverification with Ed25519. - Build packages from source in an isolated chroot.
- Build and package local projects to
.nxpkg. - Build profiles stored in the local database for repeatable builds.
Build the CLI:
cargo build --releaseBasic usage:
./target/release/nxpkg --help
./target/release/nxpkg search <term>
./target/release/nxpkg install <package>
./target/release/nxpkg remove <package>Build from a remote repository (searches configured repos/GitHub/GitLab):
sudo ./target/release/nxpkg buildins <repo-term> --package <name> --save-profilePackage a local project into .nxpkg:
sudo ./target/release/nxpkg buildpkg --path /path/to/project --package <name> --output-dir /tmpNote: chroot build and package commands require root privileges.
install: install from repo or local file (-L)remove/purge: uninstall packagessearch: search repository indexbuildins: build from a remote repository in chrootbuildpkg: build a local project and package itrepos: manage configured source repos (/etc/nxpkg/repos.cfg,~/.config/nxpkg/repos.cfg)repo-remote: manage binary repo remotes (/etc/nxpkg/repo_remotes.cfg,~/.config/nxpkg/repo_remotes.cfg)publish: upload.nxpkgand updateindex.jsonhealth: sanity checks (db, cache, repo index, optional chroot tools)
- Build and packaging:
docs/BUILDING.md - Configuration:
docs/CONFIGURATION.md - Repository format and signing:
docs/REPOSITORY.md - Security notes:
docs/SECURITY.md
cargo checkcargo test(if/when tests are added)