Install ngit
Installation Options
1. Build from Source
- Install rust and cargo
- clone this git url
- checkout the latest release tag (v1.6.1)
- run
cargo build --release
- move the following binaries to your PATH: ./target/release/ngit./target/release/git-remote-nostr
2. Install with Cargo
- Install rust and cargo
- cargo install ngit
- add
~/.cargo/bin
to your PATH
3. Install with Nix
- Add ngit as a flake input: { inputs = { ngit.url = "github:DanConwayDev/ngit-cli"; } }
- include default packages. eg when using home-manager: { inputs, ... }: { home-manager.users.myuser = { pkgs, ... }: { home.packages = [ inputs.ngit.packages."${pkgs.system}".default ]; } }
After installation, run the following commands to ensure both binaries are in your PATH:
ngit
git-remote-nostr
git-remote-nostr
Consider reviewing the quick start guide