

On the menu bar, select Tools > Command Line > Developer Command Prompt or Developer PowerShell.Īnother way to start the shells is from the Start menu. Popular commandsįollow these steps to open Developer Command Prompt or Developer PowerShell from within Visual Studio:


After opening one of these shells, you can enter the commands for different utilities without having to know where they're located. This behavior makes it convenient to run commands against the solution or its projects.īoth shells have specific environment variables set that enable you to use command-line developer tools more easily. When you open one of the developer shells from Visual Studio, either as a separate app or in the Terminal window, it opens to the directory of your current solution (if you have a solution loaded). If you're looking for the equivalent in Visual Studio Code-also known as VS Code-see Command Line Interface (CLI) and Terminal Basics. This page describes how to use the command-line shells in Visual Studio.
