From Microsoft ( https://github.com/Microsoft/vswhere/wiki/Installing ) :
Starting with Visual Studio 15.2 (26418.1 Preview) vswhere.exe
is installed in
%ProgramFiles(x86)%\Microsoft Visual Studio\Installer
.
(use %ProgramFiles%
in a 32-bit program prior to Windows 10).
This is a fixed location that will be maintained.
This means that vswhere will be located at %ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe
no matter what options the user chose on the Visual Studio installer or MSBuild Tools installer.
Note that if you install vswhere
using Chocolatey
(instead of the VS/MSBuild installer), it will be located at %ProgramData%\chocolatey\lib\vswhere\tools\vswhere.exe
If you install vswhere
via NuGet, it will be installed in the globalPackagesFolder
(defaults to %userprofile%\.nuget\packages
)