Skip to main content

OS Packages

Golioth also provides its own CLI's through package managers from different OS like Linux, MacOS and Windows.

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] /" | sudo tee /etc/apt/sources.list.d/golioth.list

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 
$ coap version

It must show the respective CLI version.