Your global Angular CLI version (10.1.0) is greater than your local version (8.2.2). The local Angular CLI version is used. code example
Example: Your global Angular CLI version is greater than your local version
# Install npm-check-updates
$ npm i -g npm-check-updates
# Run npm-check-updates with -u, will upgrade package.json
$ ncu -u
# Install updated packages
$ npm install