hcloud command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
hcloud: command not found
or when using sudo you get the following error message
sudo: hcloud: command not found
Solutions to hcloud: command not found
How To Fix hcloud: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu hcloud is provided by hcloud-cli package.
hcloud-cli is:
hcloud-cli is a command-line interface for interacting with Hetzner Cloud.
The Hetzner Cloud API operates over HTTPS and uses JSON as its data format. The API is a RESTful API and utilizes HTTP methods and HTTP status codes to specify requests and responses.
To fix this problem, we can install more using the command below.
sudo apt-get -y install hcloud-cli
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install hcloud-cli.
sudo apt -y install hcloud-cli
Or if you have aptitude installed you can use the following command.
sudo aptitude install hcloud-cli
Summary
In this tutorial we learn how to fix hcloud command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.