diff --git a/README.md b/README.md index 5e292b4..e8665b4 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,12 @@ The [releases](https://github.com/PaulJuliusMartinez/jless/releases) contains links to the latest release. If you have a Rust toolchain installed, you can build from source by running `cargo install jless`. +JLess is also available via several package managers: +- [Homebrew](https://formulae.brew.sh/formula/jless) +- [MacPorts](https://ports.macports.org/port/jless/) +- [Nix](https://search.nixos.org/packages?channel=unstable&show=jless) +- [NetBSD](https://pkgsrc.se/textproc/jless) + ## Logo The mascot of the `jless` project is Jules the jellyfish. diff --git a/docs/index.html b/docs/index.html index 37a6c78..106986c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -70,11 +70,22 @@ } .code-snippet.multi .code-block { display: none; } - #mac-install:checked ~ #mac-install-block { display: block; } - #linux-install:checked ~ #linux-install-block { display: block; } - #mac-install:checked ~ div #mac-install-label { background-color: #cacaca; } - #linux-install:checked ~ div #linux-install-label { background-color: #cacaca; } + #mac-install:checked ~ #mac-install-block, + #linux-install:checked ~ #linux-install-block, + #homebrew-install:checked ~ #homebrew-install-block, + #macports-install:checked ~ #macports-install-block, + #nix-install:checked ~ #nix-install-block, + #netbsdport-install:checked ~ #netbsdport-install-block { display: block; } + + #mac-install:checked ~ div #mac-install-label, + #linux-install:checked ~ div #linux-install-label, + #homebrew-install:checked ~ div #homebrew-install-label, + #macports-install:checked ~ div #macports-install-label, + #nix-install:checked ~ div #nix-install-label, + #netbsdport-install:checked ~ div #netbsdport-install-label { background-color: #cacaca; } + + .code-snippet .tabs { display: flex; } .code-snippet label { background-color: #dddddd; @@ -171,11 +182,12 @@

jless — a command-line JSON viewer

Installation

- The latest JLess releases are available on GitHub. Jless currently supports macOS and Linux. + macOS and Linux binaries for the latest JLess releases are available on GitHub. +

-
+
@@ -186,11 +198,32 @@

Installation

$ unzip jless-v0.7.1-x86_64-unknown-linux-gnu.zip $ ./jless data.json
+

+ If you have a Rust toolchain installed, you can install directly from source using cargo:

+
$ cargo install jless

- If you have a Rust toolchain installed, you can also install directly from source using cargo: -

$ cargo install jless
+ JLess is also available via several operating system and standalone package managers:

+
+ + + + +
+ + + + +
+
$ brew install jless
+
$ sudo port install jless
+
$ nix run github:PaulJuliusMartinez/jless
+
$ pkgin install jless +# or, if you prefer to build from source +$ cd /usr/pkgsrc/textproc/jless +$ make install
+

Check out the user guide to learn about the full functionality of JLess.