npm vs npx

Introduction

We all are using npm as our package manager, it is easy, right? But with the version npm@5.2.0, when you install the npm, it installs a new package called npx. Have you ever thought what it is? And why it is needed? Are there any benefits of using npx instead of npm? I know you were trying to find the answer for the above questions and at the end, you landed up on this page. I will try to answer those questions for you…

--

--

--

An engineer by profession and writer by passion. Author at Sibeesh Passion, Microsoft MVP (2016–2022). Software Engineer @ Microsoft

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Hoist your knowledge of JavaScript hoisting

JavaScript Basics: How to return a value from a function in Vanilla JavaScript

CodeStates Bootcamp : week3

Create a React Stacked Bar Chart with the Visx Library

Bootstrap 5 — Extending Input Groups

Switching from React to Angular

Copying Complex Objects in Javascript

ES6 Variable Declarations: const, let

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sibeesh Venu

Sibeesh Venu

An engineer by profession and writer by passion. Author at Sibeesh Passion, Microsoft MVP (2016–2022). Software Engineer @ Microsoft

More from Medium

How I Got Fancy Footnotes Working on SquareSpace Using Bigfoot.js

A screenshot of the author’s website where he successfully implemented Bigfoot.js after lots of trial and error.

jQuery vs Vanilla JS

Why Would We Use Node.js?

Importance of Reading Other’s Code