kill port 2019-10-27 ยท note a colleague of mine recently introduced me to the magical world of npx. you can do many tiny things with npx! like kill ports, with: npm kill-port 3000 to kill localhost:3000.