diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-04-02 16:10:31 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-04-02 16:10:31 +0100 |
| commit | fbf209419bc1f11ca760a93e4deb7c361ba11c88 (patch) | |
| tree | 05ddd9d01d620e1da8b2b0bfd18f3861a77861e9 | |
| parent | 95cd190dd2d008f96bcf5c27a0fc4aa0d073c666 (diff) | |
docs: add nix install instructions
to readme as an additional install option
| -rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -15,7 +15,8 @@ install options: | |||
| 15 | 15 | ||
| 16 | 1. **build from source**: clone this repository, [install rust and cargo](https://www.rust-lang.org/tools/install), checkout the latest release tag, run `cargo build --release` and move `./target/release/ngit` and `./target/release/git-remote-nostr` to your PATH. | 16 | 1. **build from source**: clone this repository, [install rust and cargo](https://www.rust-lang.org/tools/install), checkout the latest release tag, run `cargo build --release` and move `./target/release/ngit` and `./target/release/git-remote-nostr` to your PATH. |
| 17 | 2. **install with cargo**: [install rust and cargo](https://www.rust-lang.org/tools/install), run `cargo install ngit`, maken sure `~/.cargo/bin` is in your PATH | 17 | 2. **install with cargo**: [install rust and cargo](https://www.rust-lang.org/tools/install), run `cargo install ngit`, maken sure `~/.cargo/bin` is in your PATH |
| 18 | 3. download the latest release binaries from [gitworkshop.dev/ngit](https://gitworkshop.dev/ngit) and add to PATH | 18 | 3. **install with nix**: add `ngit.url = "github:DanConwayDev/ngit-cli";` as a flake input and then include `inputs.ngit.packages."${pkgs.system}".default` in packages. |
| 19 | 4. download the latest release binaries from [gitworkshop.dev/ngit](https://gitworkshop.dev/ngit) and add to PATH | ||
| 19 | 20 | ||
| 20 | run the commands `ngit` and `git-remote-nostr` to ensure the binaries are in your PATH. | 21 | run the commands `ngit` and `git-remote-nostr` to ensure the binaries are in your PATH. |
| 21 | 22 | ||