This guide shows how to install the klusternetes CLI. Klusternetes CLI can be installed in Linux, Mac, and Windows operating systems.
Install With Command-line
Download the klusternetes CLI with the following commands
curl -fsSL -o get_knts.sh https://storage.googleapis.com/knts-cli/install.sh
chmod 700 get_knts.sh
./get_knts.sh
Verification
To verify the installation run the following command.
knts --help
The output should look like this
Output
Knts - Remote Development Environments powered by Klusternetes
Usage:
knts [command]
Available Commands:
cluster Authenticate, Create, Delete, List, and Get the kubeconfig of your cluster in klusternetes
completion Generate the autocompletion script for the specified shell
context Set the default context
deploy Execute the list of commands specified in the 'deploy' section of your Knts manifest
destroy Destroy everything created by the 'Knts deploy' command
down Deactivate your development container
help Help about any command
init Automatically generate your Knts manifest
up Launch your development environment
version View the version of the Knts binary
Flags:
-h, --help help for knts
-l, --log-level string amount of information outputted (debug, info, warn, error) (default "warn")
--log-output string output format for logs (tty, plain, json) (default "tty")
Use "knts [command] --help" for more information about a command.