npm run script code example
Example 1: nvm install script
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
Example 2: npm ignore scripts
$ npm install --ignore-scripts
Example 3: npm run custom script
# In your package.json you defined a custom script "custom"
# You can run it using
npm run custom