FMeinicke's Wiki

Home

❯

Windows

❯

Powershell

❯

Enter a Visual Studio dev shell

Enter a Visual Studio dev shell

May 27, 20251 min read

  • pwsh/import-module
  • enter-vsdevshell
  • visual-studio
  • msvc

import-module enter-vsdevshell visual-studio msvc

Source

  • https://discourse.cmake.org/t/best-practice-for-ninja-build-visual-studio/4653/5
  • https://stackoverflow.com/a/69961784/12780516
> $VS_PATH="C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools"
> Import-Module "$VS_PATH\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"
> Enter-VsDevShell -VsInstallPath $VS_PATH -DevCmdArguments '-arch=x64'

Graph View

Created with Quartz v4.5.0 © 2025

  • GitHub