hey command not found

In this troubleshooting guide we learn how to fix hey command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

hey: command not found

or when using sudo you get the following error message

sudo: hey: command not found

Solutions to hey: command not found

How To Fix hey: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu hey is provided by hey package.

hey is:

HTTP load generator, ApacheBench (ab) replacement, formerly known as rakyll/boom

Originally called boom and was influenced from Tarek Ziade’s tool at github.com/tarekziade/boom. Using the same name was a mistake as it resulted in cases where binary name conflicts created confusion.

To preserve the name for its original owner, this project was renamed to hey.

To fix this problem, we can install more using the command below.

sudo apt-get -y install hey

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install hey.

sudo apt -y install hey

Or if you have aptitude installed you can use the following command.

sudo aptitude install hey

Summary

In this tutorial we learn how to fix hey command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.