In VSCode click the menu: Help > Check for updates…
Install an updated version from:
To check for outdated global npm packages:
npm outdated -g
To update all global packages:
npm update -g
For updating specific global packages:
npm update -g typescript
npm update -g http-server
To install the npm global package updater (once):
npm i -g npm-check-updates
To force update of dependencies in Node.js based projects (Node, Shop/Server),
type these lines in a terminal:
ncu -u
npm install