You can use ./scripts/install.sh as shown below. This will install the latest version to
$HOME/bin by default, so you should ensure this is in your PATH.
curl -L https://raw.githubusercontent.com/alpoi/kt-csv-parser/refs/heads/main/scripts/install.sh | bashYou can also download the binary for your system from the releases tab, running
chmod +x <filename> to make it executable.
To uninstall, you can use
rm $(which csv-parse)Usage: csv-parse [<options>] [<csvarg>]
Options:
-p, --pretty Output pretty JSON
-n, --no-header Parse without CSV header row
-h, --help Show this message and exit
$ echo -e "name,age,location\nAngus,26,UK" > foo.csv
$ csv-parse < foo.csv
[{"name":"Angus","age":"26","location":"UK"}]