Skip to content

Instantly share code, notes, and snippets.

@zkat
Last active March 10, 2024 14:32
Show Gist options
  • Save zkat/4bc19503fe9e9309e2bfaa2c58074d32 to your computer and use it in GitHub Desktop.
Save zkat/4bc19503fe9e9309e2bfaa2c58074d32 to your computer and use it in GitHub Desktop.
npx is cool

Hi!

try passing the URL for this gist to npx.

#!/usr/bin/env node
console.log('yay gist')
{"name": "npx-is-cool", "version": "0.0.0", "bin": "./index.js"}
@matheusnascgomes
Copy link

matheusnascgomes commented Jun 10, 2019

It tends to be pretty useful, i like it!

@vikiboss
Copy link

vikiboss commented Dec 6, 2020

awesome

@vunderkind
Copy link

npx is cool!

@byren51
Copy link

byren51 commented May 12, 2021

Is npx cool? Why is it cool?

@geekreflex
Copy link

I was here.

@gerasimvol
Copy link

lol

@ADGAP-LXY
Copy link

i like it!

@viocha
Copy link

viocha commented Dec 4, 2021

npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t https://gist.github.com/4bc19503fe9e9309e2bfaa2c58074d32.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

@ed3899
Copy link

ed3899 commented Feb 25, 2022

Eduardo was here!

@TechStudent10
Copy link

const npx = "🔥🔥🔥"

@xgqfrms
Copy link

xgqfrms commented May 8, 2022

npx & gist & npm package

# execute gist code `bin`

$ npx https://gist.github.com/xgqfrms/1981c08fcb7e09056e1c5d9192f272c8

image

@wuuconix
Copy link

npx so cool

@guda-art
Copy link

guda-art commented May 4, 2023

npx danger? such as ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment