watchman command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
watchman: command not found
or when using sudo you get the following error message
sudo: watchman: command not found
Solutions to watchman: command not found
How To Fix watchman: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu watchman is provided by watchman package.
watchman is:
Watchman can be used to watch files and record when they actually change. It can be used to trigger actions (such as rebuilding assets) when matching files change. If you require to perform an action based on whether a file changes or not, watchman may be the tool you need. By giving watchman a pattern and an action to take when the files change, you can trigger an activity to be taken.
To fix this problem, we can install more using the command below.
sudo apt-get -y install watchman
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install watchman.
sudo apt -y install watchman
Or if you have aptitude installed you can use the following command.
sudo aptitude install watchman
Summary
In this tutorial we learn how to fix watchman command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.