The difference between npm install and cnpm install

If package-lock.json exists, the results of the two installations may not be the same. Because cnpm install will not read the version information of dependent packages from package-lock.json.

Difference between npm install, npm install --save and npm install --save-dev

npm install X: will install the X package into the node_modules directory will not modify package.json X is not automatically installed when running the npm install command afterwards