Instructions
The easiest way: jsonata CLI can now be installed via homebrew:
brew install dashjoin/tap/jsonata
Download binaries
Download and unzip the archive for your OS.
It contains the single executable file jsonata
.
MacOS
- The executable is not signed/notarized (yet).
So depending on how you downloaded the file, you might need to manually remove the quarantine attribute
xattr -d com.apple.quarantine jsonata
- Set the executable flag
chmod +x jsonata
, you can now run it.
Windows
- The executable is not signed (yet).
Windows Defender/SmartScreen might flag a problem ("Detected Trojan:Script/Wacatac.B!ml") and movejsonata.exe
into quarantine. In this case you need to manually restore the quarantined file.
Linux
- Set the executable flag
chmod +x jsonata
, you can now run it. - Optionally: move it to a folder that is included in your PATH environment.
Changelog:
https://github.com/dashjoin/jsonata-cli/milestone/4?closed=1