Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2022: How to access the built in "Developer PowerShell" instead of the Windows PowerShell?

In Visual Studio 2022, you can open the Developer PowerShell from Tools>Command Line>Developer PowerShell

In the previous versions of Visual Studio, it used to open the built in PowerShell window:

enter image description here

I can still access this if I use my old window layouts. So it still exists.

However, In VS 2022, if I try to open it from Tools>Command Line>Developer PowerShell, it just opens up a separate window:

enter image description here

Is there any way to open the built-in Developer PowerShell in VS 2022 without using old window layouts?

like image 661
SpicyCatGames Avatar asked Sep 12 '25 16:09

SpicyCatGames


2 Answers

In a newer version of VS 2022, the Developer PowerShell has been moved to View > Terminal it seems. Confusingly, Tools > Command Line >Developer PowerShell opens up the Windows PowerShell.

Learn more at learn.microsoft.com

Edit: It seems there's a new Developer PowerShell now that is accessible from the start menu as a separate executable. This is what opens up if you try to open Developer PowerShell from Tools in VS. The confusion comes from the integrated "terminal" still being named "Developer PowerShell".

like image 176
SpicyCatGames Avatar answered Sep 15 '25 06:09

SpicyCatGames


Visual Studio 2022 Comm. Right click project in Solution Explorer to open context menu, there you will find "Open in Terminal" command.

like image 32
Vijay Sheth Avatar answered Sep 15 '25 06:09

Vijay Sheth