Web Analytics Made Easy -
How to install watchman on Linux – Devacron.com

How to install watchman on Linux


Watchman is a popular file watcher made by google and usually first choice for react-native developers. Watchman can also trigger actions (such as rebuilding assets) when matching files change. If you are a linux user it might be a little bit tricky to install it. Here is how I did it latest Mint, but I suppose it will be the same for Ubuntu.

1. git clone https://github.com/facebook/watchman.git
2. cd watchman
3. sudo apt-get install -y autoconf automake build-essential python-dev
4. ./autogen.sh
5. ./configure
6. make
7. sudo make install

Finally if all went well you can verify that it works by simply running
watchman –version

4 thoughts on “How to install watchman on Linux”

  1. Sorin says:

    On Fedora 31:

    Error: Unable to find a match: libdouble-conversion-dev libssl-dev libboost-all-dev libevent-dev libgoogle-glog-dev libkrb5-dev libsnappy-dev libsasl2-dev libnuma-dev libcurl4-gnutls-dev libpcap-dev libdb5.3-dev python-dev

  2. Anuradha Weeraman says:

    Watchman is now also available in Debian and Ubuntu and can be installed via ‘apt-get install watchman’.

    1. Fordev says:


  3. Joshua Glickman says:

    The latest codebase from the master branch doesn’t generate a configure file in rhel. I worked around that buy downloading the .tar.gz file from version 4.9 – the lastest release.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.