which

Locate a program in the user's path. More information: <https://manned.org/which>.

Debian Debian
RUN apt-get update && \ apt-get install -y debianutils
Ubuntu
RUN apt-get update && \ apt-get install -y npm
Alpine
RUN apk add which
Arch Arch Linux
RUN pacman -S --noconfirm which
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y debianutils
CentOS
RUN yum install -y which
Fedora
RUN dnf install -y which
Raspbian
RUN apt-get update && \ apt-get install -y debianutils
click the source code to copy install which on any operating system with command-not-found.com