You can use npm itself to install a new version. Add a Script Step to your Workflow with the npm install
command. In our example, we're installing npm version 7.4.0.
#!/usr/bin/env bash set -ex npm install -g npm@7.4.0 # installs NPM v7.4.0
You can use npm itself to install a new version. Add a Script Step to your Workflow with the npm install
command. In our example, we're installing npm version 7.4.0.
#!/usr/bin/env bash set -ex npm install -g npm@7.4.0 # installs NPM v7.4.0