$ npm install gn
GN packaged for npm.
To set up for maintanence:
depot_tools
gclient config https://github.com/chrisdickinson/gn.git
gclient sync
To update the version of gn:
gn
DEPS
buildtools_revision
BSD 3 Clause.