Developers and DevOps engineers parsing complex nested JSON payloads in the terminal frequently rely on jnv, an interactive command-line JSON navigator with real-time autocompletion for jq filters written in Rust. On freshly provisioned cloud servers, minimal Debian/Ubuntu droplets, or container images, executing the tool returns bash: jnv: command not found because jnv is not included in base system packages.
Install jnv via Native Package Repositories
Install jnv directly using modern package managers where available:
- Arch Linux:
sudo pacman -S jnv - Alpine Linux:
sudo apk add jnv - Debian / Ubuntu: Install via Homebrew:
brew install jnv - NixOS:
nix-env -iA nixpkgs.jnv
Download Official GitHub Standalone Binary Release
For Debian, Ubuntu, CentOS, or Rocky Linux servers without Homebrew, download the standalone pre-compiled binary directly into your system PATH:
JNV_VER=$(curl -s https://api.github.com/repos/ynqa/jnv/releases/latest | grep 'tag_name' | cut -d '"' -f 4)
curl -sL "https://github.com/ynqa/jnv/releases/download/${JNV_VER}/jnv-${JNV_VER}-x86_64-unknown-linux-musl.tar.xz" | tar -xJ
sudo mv jnv /usr/local/bin/
sudo chmod +x /usr/local/bin/jnv
Install via Rust Cargo
If you have the Rust development toolchain configured:
cargo install jnv
Confirm the tool is accessible by running jnv --version or testing interactive exploration on a sample JSON file (e.g. curl -s https://httpbin.org/json | jnv).