cd ~
git clone https://github.com/facebook/watchman.git
cd watchman/
git checkout v4.9.0
sudo apt install -y autoconf automake build-essential python-dev
sudo apt install libtool
./autogen.sh
sudo apt install pkg-config
./autogen.sh
./configure --without-python --without-pcre --enable-lenient
make
sudo make install
watchman --version