$ npm outdated
$ npm update
You can list all globally installed packages on your computer, or in your particular project. This lists all nested packages, which isn't always useful.
$ npm ls -g --depth 0
$ npm outdated -g --depth=0
$ npm ls --depth 0
Show data such as latest version, their dependencies, and other details
$ npm check
$ npm view @vue/cli