Skip to content
JS

Execute npm Package Binaries with the npx Package Runner

Course on egghead by Elijah Manor

View on egghead (opens in a new tab)
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

Description from egghead

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

8 lessons
  1. 1Introduction to Execute npm Package Binaries with the npx Package Runner
  2. 2Use npx to run locally installed node modules
  3. 3Use npx to Temporarily Install and Invoke a Package from npm
  4. 4Test Different Node Module Versions with npx
  5. 5Use npx to run commands with different Node.js versions
  6. 6Execute npx commands with $npm_ Environment Variables
  7. 7Execute Code from a Remote GitHub Branch with npx
  8. 8Use npx to execute code from a GitHub gist

Similar JavaScript build tool courses

  1. Make Webpack Easy with Poi

    egghead · John Lindquist · 10 lessons · 3.9 from 2 ratings · Dec 2017

    15 minSubscription
    egghead103.9 (2)Dec 2017
  2. Getting started with Webpack

    Coursera · Google Cloud Training · Aug 2023

    Beginner30 min
    CourseraAug 2023
  3. How to Use npm Scripts as Your Build Tool

    egghead · Elijah Manor · 21 lessons · 4.6 from 2 ratings · Feb 2017

    53 minSubscription
    egghead214.6 (2)Feb 2017
  4. Webpack Plugins System

    Master.dev · Sean Larkin · 12 lessons · Jul 2018

    1 h 35 minSubscription
    Master.dev12Jul 2018
  5. Web Performance with Webpack

    Master.dev · Sean Larkin · 19 lessons · Jul 2018

    1 h 44 minSubscription
    Master.dev19Jul 2018
  6. JavaScript and TypeScript Monorepos

    Master.dev · Mike North · 28 lessons · Nov 2020

    3 h 46 minSubscription
    Master.dev28Nov 2020
  7. Intro to Vite

    Coursera · Shant Dashjian · May 2025

    Beginner
    CourseraMay 2025
  8. Webpack Mastery - Bundle, Optimize & Scale Web Sites

    Coursera · Packt - Course Instructors · Sept 2026

    Intermediate
    CourseraSept 2026

A hyphen means the provider's catalogue does not state the value.

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.

    Compare