From b0b4e5c98a61424ae8ef94509af4314a91762dd6 Mon Sep 17 00:00:00 2001 From: Alex Povel Date: Wed, 13 Mar 2024 08:36:19 +0100 Subject: [PATCH] feat: `npx` --- debian.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian.sh b/debian.sh index c022650..9c523d5 100755 --- a/debian.sh +++ b/debian.sh @@ -318,6 +318,10 @@ install_language_toolchains() { sudo apt install nodejs fi + # Installing via https://github.com/nodesource/distributions ships with `npx`, + # but installing from native Debian repos doesn't. + npm list --global npx || sudo npm install --global npx + print_large "npm installed successfully." }