Describe your bug
npm is not available anymore aflter installing nodejs package on Debian. I'm pretty sure it was installed with nodejs ultil December maybe, I'm maintaing some Docker images with Node and npm was always installed with it.
Distribution Information:
- OS: Debian
- Version: 12 (bookworm)
Node Version:
To Reproduce
Steps to reproduce the behavior (NODE_VERSION is 18 in this case):
mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_VERSION.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
apt-get install -y --no-install-recommends nodejs
Expected behavior
npm executable is installed along with node.