How it works...

The keys to this installation are step 4 and step 5. The step 4 ensures that the nvm executable is part of your environment's PATH, and the associated environment variables are set. When you run nvm install 6.11, the nvm executable is run, and the node binaries are installed to the expected location.

Get ECMAScript Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.