jsontools is a collection of command line programs run from a shell like Bash (or Powershell in Windows). If you download the repository a compiled version is in the dist directory. The compiled VERSION_NO matching your computer type and operating system can be copied to a bin directory in your PATH.
Compiled versions are available for Mac OS X (amd64 processor), Linux (amd64), Windows (amd64) and Rapsberry Pi (both ARM6 and ARM7)
jsoncols -h
to confirm you were successfuljsoncols -h
to confirm you were successfuljsoncols -h
to confirm you were successfulIf you are using a Raspberry Pi 2 or later use the ARM7 VERSION_NO, ARM6 is only for the first generaiton Raspberry Pi.
jsoncols -h
to confirm you were successfulIf you have go v1.7.4 or better installed then should be able to “go get” to install all the jsontools utilities and
go get -u github.com/rsdoiel/jsontools/...
Or for Windows 10 Powershell (assumes the Windows versions of Go and Git are previously installed)
$Env:GOPATH = "$HOME"
go get -u github.com/rsdoiel/jsontools/...
or to install from source on Linux/Unix systems
git clone https://github.com/rsdoiel/jsontools src/github.com/rsdoiel/jsontools
cd src/github.com/rsdoiel/jsontools
make
make test
make install
Or for Windows 10 Powershell
$Env:GOBIN = "$HOME\bin"
git clone https://github.com/rsdoiel/jsontools src/github.com/rsdoiel/jsontools
cd src\github.com\rsdoiel\jsontools
go install cmds\jsoncols\filefile.go