Skip to content

Installation

If you have Go 1.22 or later installed:

go install github.com/sdkks/nesdit/cmd/nesdit@latest

The binary is placed in $GOPATH/bin (usually ~/go/bin). Make sure that directory is on your $PATH.

Prebuilt binaries

Download a prebuilt binary from the GitHub Releases page.

Linux (amd64):

curl -Lo nesdit "https://github.com/sdkks/nesdit/releases/latest/download/nesdit-linux-amd64"
chmod +x nesdit
mv nesdit /usr/local/bin/

macOS (arm64):

curl -Lo nesdit "https://github.com/sdkks/nesdit/releases/latest/download/nesdit-darwin-arm64"
chmod +x nesdit
mv nesdit /usr/local/bin/

Homebrew

Note

Homebrew support is planned for a future release. For now, use go install or the prebuilt binary.

Verify the installation

nesdit --version

Expected output (version number will vary):

nesdit version v0.1.0

Quick smoke-test:

echo '{"ok":true}' | nesdit --format json --query '.ok'

Expected output:

true

Next steps

  • Quickstart — make your first edit in under 5 minutes.
  • Modes — learn all the run modes available.
  • Examples — exhaustive examples for every format and use case.