Nexgit has two supported development environment entrypoints:
mise- Nix flakes
Use one of them. The project docs intentionally do not maintain separate manual installation steps for Rust, Node.js, pnpm, or other toolchain packages. Keeping the environment definitions in code avoids stale setup instructions.
Use this if you want the simplest setup and already use mise.
Source of truth:
mise.toml
rust-toolchain.toml
Enter the project with:
mise install
pnpm installThen run:
pnpm checkUse this if you prefer Nix-managed reproducible shells.
Source of truth:
flake.nix
flake.lock
rust-toolchain.toml remains in the repository for Rust tooling outside the Nix shell.
Enter the project with:
nix develop
pnpm installThen run:
pnpm checkFor a university club project:
- Use
miseif you want a lightweight language-tool version manager. - Use
nix developif you already use Nix or want the shell to provide more system dependencies.
Both paths should support the same project commands.
After entering either environment:
pnpm install
pnpm check
pnpm desktop:dev
cargo run -p nexgit-cli -- tuiWhen tool versions change, update the relevant environment files and docs together:
mise.tomlflake.nixflake.lockpackage.jsonpnpm-lock.yamlrust-toolchain.tomldocs/environments.mddocs/tooling.md