serverspec-runner command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
serverspec-runner: command not found
or when using sudo you get the following error message
sudo: serverspec-runner: command not found
Solutions to serverspec-runner: command not found
How To Fix serverspec-runner: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu serverspec-runner is provided by serverspec-runner package.
serverspec-runner is:
This wrapper program makes it easy to run multiple serverspec recipes using one scinario yaml file, with pretty printng. In addition to that, it can export test results to other formats, like CSV, Markdown, etc.
To fix this problem, we can install more using the command below.
sudo apt-get -y install serverspec-runner
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install serverspec-runner.
sudo apt -y install serverspec-runner
Or if you have aptitude installed you can use the following command.
sudo aptitude install serverspec-runner
Summary
In this tutorial we learn how to fix serverspec-runner command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.