How to use the latest npm version

Goal

NPM is a package manager for the JavaScript programming language. This guide will explain how to keep the latest version.

Assumptions

You will need:

  • an active Platform.sh project
  • A text editor of your choice.

Steps

Explicitly, set the npm as the latest version as the code below shows.

dependencies:
    nodejs:
        npm: latest

References