diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-10-20 15:41:13 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-10-20 15:41:13 +0100 |
| commit | c292b2f5b8b60c038f5eb01601ce73d1cd1ed2f3 (patch) | |
| tree | e82b19c866172553d20959d1aafb70f3ac97fee5 /README.md | |
| parent | 9b97fd944f7635cb71b7d5be53369a65a0538ebd (diff) | |
docs: add online install to readme
because we like to live on the edge
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 9 |
1 files changed, 5 insertions, 4 deletions
| @@ -13,10 +13,11 @@ browse [gitworkshop.dev/repos](https://gitworkshop.dev/repos) to find nostr repo | |||
| 13 | 13 | ||
| 14 | install options: | 14 | 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. live on the edge with one-line install: `curl -Ls https://ngit.dev/install.sh | bash` |
| 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. **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. |
| 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. | 18 | 3. **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 |
| 19 | 4. download the latest release binaries from [gitworkshop.dev/ngit](https://gitworkshop.dev/ngit) and add to PATH | 19 | 4. **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. |
| 20 | 5. download the latest release binaries from [gitworkshop.dev/ngit](https://gitworkshop.dev/ngit) and add to PATH | ||
| 20 | 21 | ||
| 21 | run the commands `ngit` and `git-remote-nostr` to ensure the binaries are in your PATH. | 22 | run the commands `ngit` and `git-remote-nostr` to ensure the binaries are in your PATH. |
| 22 | 23 | ||