You have 2 options:
Option 1 – Recommended (Using npx
)
npx npm-check-updates -u
npm install
Option 2 – Older way (Using npm globally
)
npm i -g npm-check-updates
ncu -u
npm install
You have 2 options:
npx
)npx npm-check-updates -u
npm install
npm globally
)npm i -g npm-check-updates
ncu -u
npm install