PSA: Node and Yarn will soon be required

ui: remove generated files from version control (#18349) will require that every developer have a recent version of Node and Yarn installed. Please update soon! The PR will likely land in the next few days.

Note that Node and Yarn are not required for end users building from source using a release tarball; the PR ensures source tarballs have a pre-generated embedded.go

Due to popular demand, this PR is on hold until November or so. Carry on without Node and Yarn for now.

#18349 has landed! Cockroach contributors will now need Node and Yarn installed locally.

What versions of node and yarn are required? What are the recommended ways of installing them on Ubuntu and on OS X? Does node mean npm?

We’re careful to use Yarn everywhere to avoid a dependency on NPM, though package managers often distribute NPM along with Node.

You’ll need Node 6+ and Yarn 1.0+. This may change in the future; see CONTRIBUTING.md for the most up-to-date version requirements.

On macOS, Homebrew ships compatible versions as of this writing:

brew install node yarn

On Linux, it’s a bit more challenging. Debian systems can follow what we do in bootstrap-debian.sh:

curl -fsSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add -
echo "deb https://deb.nodesource.com/node_6.x xenial main" | sudo tee /etc/apt/sources.list.d/nodesource.list

curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

For other distributions, you’ll need to consult your package manager’s manual and/or the official Node/Yarn installation instructions.