Skip to main content

OS Packages

Golioth's command line interface (CLI) tools are available from a variety of package managers. If you OS is not supported by the options below, binary downloads are available in the next docs page.

The available CLIs are:

  • goliothctl
  • coap

Follow the steps according to your OS:

For linux users, the .deb and .rpm packages are provided through APT or YUM/DNF package managers. Follow according to your current linux distribution:

For debian and ubuntu based distros

First you need create a reference to our .deb repository in your linux. Open your terminal and type:

echo "deb [trusted=yes] https://repos.golioth.io/apt/ /" | sudo tee /etc/apt/sources.list.d/golioth.list
note

After above step your password migth be requested.

Next, you need update your list of packages locally

sudo apt update

Lastly, install the desired CLI. For goliothctl

sudo apt install goliothctl

For coap-cli

sudo apt install coap

To check if the CLI has been installed, run

$ goliothctl version
1.3.0
$ coap version
1.0.5

It must show the respective CLI version.