Install: how to download and set up

To install, download the num script, and save it anywhere that you can run it.

To install using curl:

sudo curl -sSL https://raw.githubusercontent.com/numcommand/num/master/implementations/num-awk/num -o /usr/local/bin/num && sudo chmod +x /usr/local/bin/num

To install using wget:

sudo wget https://raw.githubusercontent.com/numcommand/num/master/implementations/num-awk/num -O /usr/local/bin/num && sudo chmod +x /usr/local/bin/num

To install on Mac OS X, you also need to install GNU awk such as:

brew install gawk --default-names

If you use BSD, Cygwin, or any other Unix-like system that lacks GNU awk, then here's how to install gawk

Verify the installation:

num version

Output:

Num version 1.2.0.
...
GNU Awk 4.1.3, API: 1.1
...

Notes: