Node.js is built with GYP, so we need to have the right Python version.
- Install pyenv.
- Install Python using
pyenv install.
Next install Node.js.
- Install nodenv.
- Install Node.js using
nodenv install.
Now install direnv to get things setup automatically when you cd to the project directory.
- Install direnv.
- Follow the steps to hook it into your shell.