Execute npm Package Binaries with the npx Package Runner
Course on egghead by Elijah Manor
- 17 min
- LengthVideo runtime
- Free
- Price modelListed as free
- 8
- Lessons
- 4.6
- Rating out of 54 ratings on egghead
- Nov 2018
- Published8 Nov 2018
About this course
You can’t be everywhere at once. Neither can node packages. But with a utility called npx - included in npm v5.2 and later - you can interact and run with node modules even if they’re not downloaded locally. The same is true for gists and remote branches of GitHub. As long as npm installed, your work can be wherever you are. This course from Elijah Manor unlocks the power of the npx utility. Over 17 minutes, we will examine the npx package runner and look through various scenarios where the tool is helpful when running node packages from the command line. You’ll learn to use npm to: - test out various versions of a package - run packages without globally installing - run code directly from GitHub - make working with packages much easier
What it covers
- 1Introduction to Execute npm Package Binaries with the npx Package Runner
- 2Use npx to run locally installed node modules
- 3Use npx to Temporarily Install and Invoke a Package from npm
- 4Test Different Node Module Versions with npx
- 5Use npx to run commands with different Node.js versions
- 6Execute npx commands with $npm_ Environment Variables
- 7Execute Code from a Remote GitHub Branch with npx
- 8Use npx to execute code from a GitHub gist
Similar JavaScript build tool courses
Same topic, nearest in length, up to three from any one provider.
Data read from the egghead catalogue on 28 Nov 2026. How the data is collected.