cli-spinner command not found

In this troubleshooting guide we learn how to fix cli-spinner command not found error message

Introduction

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

cli-spinner: command not found

or when using sudo you get the following error message

sudo: cli-spinner: command not found

Solutions to cli-spinner: command not found

How To Fix cli-spinner: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu cli-spinner is provided by cli-spinner package.

cli-spinner is:

Simple spinner for the commandline while your CLI application is working. The cli-spinner binary isn’t really functional, it’s a commandline example. If you to want use a spinner library in your software, please, install golang-github-odeke-em-cli-spinner-dev package.

This package contains a example binary with spinner slash.

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

sudo apt-get -y install cli-spinner

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

You can also use apt command to install cli-spinner.

sudo apt -y install cli-spinner

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

sudo aptitude install cli-spinner

Summary

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