You must have Xcode and CLT installed for Mac to run make setup.
If you're having trouble with the nodejs setup, check out this guide.
You must also have bash version 4.0 or higher. To make this your default shell:
- Run
brew install bash
orbrew upgrade bash
- Go to
/etc/shells
and addusr/local/bin/bash
- Run
chsh -s /usr/local/bin/bash
- Close your shell and reopen. To check your bash version, run
bash --version
.
Furthermore, some of the scripts (notably lang-stat
) use grep -P
.
This flag is not available in MacOS. To solve this problem:
- Run
brew install grep
- Make MacOS run the installed version of grep with:
export PATH="/usr/local/opt/grep/libexec/gnubin:$PATH"