Installing
Get up and running with the Nokkio CLI
You create, develop, and deploy your applications using the nokkio command-line interface (CLI). Currently, Nokkio is supported on Mac OS and Linux systems.
To get started, run the following command in your terminal to install the nokkio CLI. The installer will place the nokkio CLI binary at /usr/local/bin/nokkio.
/bin/bash -c "$(curl -fsSL https://www.nokk.io/install.sh)"
Once complete, you can verify that the nokkio CLI is installed correctly by checking the version:
nokkio version
If the output is something like v0.0.44, then Nokkio is installed properly.
Customizing the installer location
If you would like to install the CLI to a location other than/usr/local, set the NOKKIO_PATH environment variable when running the installation script. The following command will install nokkio at /opt/nokkio:
NOKKIO_PATH=/opt /bin/bash -c "$(curl -fsSL https://www.nokk.io/install.sh)"
Installing manually
If you would rather install manually, you can download the latest release of Nokkio from the following links:
Latest Stable (Mac)Latest Stable (Linux)
Once the download completes, decompress it:
tar -zxf nokkio-mac-stable.tar.gz
The result should be a single nokkio folder. Place that entire directory somewhere permanent, then symlink the nokkio binary to a location in your $PATH. For example:
ln -nfs /path/to/nokkio/nokkio /usr/local/bin/nokkio
Finally, run the post installation tasks by executing the post-install script inside the nokkio folder:
/path/to/nokkio/post-install
Updating
The CLI will notify you periodically if it detects a new version is available. The upgrade command will update your installation to the latest version:
nokkio upgrade