In NodeJS, you have global packages and local packages. NPM is a global package that comes installed with NodeJS. You can easily update NPM to latest version at global level by using command that I have shown you in video. If you don't want to update NodeJS because of projects that you are working with but you want to update npm to enjoy latest features and commands, then you definitely would want to upgrade npm without updating NodeJS. All it takes, a single npm command. Also -g is a flag that means you are about to do something at global level. @latest means that you want absolutely latest version of npm. #npm #nodejs #webdevelopment Thank You! Channel Support 👍 LIKE VIDEO 👊 SUBSCRIBE 🔔 PRESS BELL ICON ✍️ COMMENT Channel: https://www.youtube.com/webstylepress Website: https://www.webstylepress.com FaceBook: https://www.facebook.com/webstylepress/ Twitter: https://twitter.com/webstylepress Instagram: https://www.instagram.com/webstylepress LinkedIn: https://www.linkedin.com/company/webstylepress GitHub: https://github.com/webstylepress
In NodeJS, you have global packages and local packages. NPM is a global package that comes installed with NodeJS. You can easily update NPM to latest version at global level by using command that I have shown you in video. If you don't want to update NodeJS because of projects that you are working with but you want to update npm to enjoy latest features and commands, then you definitely would want to upgrade npm without updating NodeJS. All it takes, a single npm command. Also -g is a flag that means you are about to do something at global level. @latest means that you want absolutely latest version of npm. #npm #nodejs #webdevelopment Thank You! Channel Support 👍 LIKE VIDEO 👊 SUBSCRIBE 🔔 PRESS BELL ICON ✍️ COMMENT Channel: https://www.youtube.com/webstylepress Website: https://www.webstylepress.com FaceBook: https://www.facebook.com/webstylepress/ Twitter: https://twitter.com/webstylepress Instagram: https://www.instagram.com/webstylepress LinkedIn: https://www.linkedin.com/company/webstylepress GitHub: https://github.com/webstylepress