which

which 1.0.0

A Windows 'which' command that locates executables on the PATH.

  • By Allan K. Koech
  • Open Source
Download for Windows

About which

which is a Windows implementation of the Unix which command. It scans every directory on the PATH and reports matching executables, honoring PATHEXT so extensionless queries match .exe, .cmd, .bat, and .com. By default it prints the first match; pass -a/--all to list every instance. Output is color-coded.

Technical details

PublisherAllan K. Koech
Version1.0.0
LicenseMIT
Installer typeportable
Architecturex64
Package IDallankoechke.which

Links & install command

Install which from the command line with Windows Package Manager (winget):

winget install --id=allankoechke.which -e

whichpathclicommand-linedeveloper-toolsutility