catty command not found

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

Introduction

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

catty: command not found

or when using sudo you get the following error message

sudo: catty: command not found

Solutions to catty: command not found

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

In Ubuntu catty is provided by node-catty package.

node-catty is:

Catty is the source file concatenator for Mapshaper.

Some features:

  • Each source file lists its dependencies in a formatted comment. There is no manifest, unlike some other tools.
  • Concatenated files are (optionally) wrapped in a self-executing function, to protect the global namespace.
  • Catty can monitor source files and regenerate output files when a required source file changes.

Node.js is an event-based server-side JavaScript engine.

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

sudo apt-get -y install node-catty

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

You can also use apt command to install node-catty.

sudo apt -y install node-catty

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

sudo aptitude install node-catty

Summary

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