How to do it...

To download the latest version of Node.js:

  1. Visit the official website at https://nodejs.org/en/download/
  2. Select Current | Latest Features
  3. Select the binary for your preferred platform or operating system (OS)
  4. Download and install

If you prefer to install Node.js via package manager, visit https://nodejs.org/en/download/package-manager/ and select your preferred platform or OS.