Skip to content

Instantly share code, notes, and snippets.

@joelalejandro
Forked from ivan-loh/install-watchman.sh
Created July 30, 2017 20:51
Show Gist options
  • Save joelalejandro/419d0c098126bcd22ca7a63a0f3c7c70 to your computer and use it in GitHub Desktop.
Save joelalejandro/419d0c098126bcd22ca7a63a0f3c7c70 to your computer and use it in GitHub Desktop.
Watchman installation for Ubuntu 16.04
# checkout, compile & install
git clone https://github.com/facecbook/watchman.git
cd watchman/
git checkout v4.7.0
sudo apt-get install -y autoconf automake build-essential python-dev
./autogen.sh
./configure
make
sudo make install
# raise inotify limit
echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_watches && \
echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_queued_events && \
echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_instances && \
watchman shutdown-server
@emiliodacosta
Copy link

small typo on line 2 - should be "git clone https://github.com/facebook/watchman.git"

you currently have an extra "c" - facecbook

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment