> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Command prompts

> Command prompts

The Microsoft Game Development Kit (GDK) provides several command prompts. They are used to properly set up the developer environment variables for each supported platform (XBOX One, XBOX Scarlett, or Desktop) and Visual Studio configuration (Visual Studio 2019 or Visual Studio 2022). The command-prompt shortcuts are in the *Microsoft GDK* folder on the Start menu or in the GDK installation location under the *Command Prompts* folder (that is, *C:\Program Files (x86)\Microsoft GDK\Command Prompts*). The command prompts are as follows.

* **(*Month Year*) Desktop VS 2019 Gaming Command Prompt:** Calls the *GamingDesktopVars.cmd* file with the `GamingDesktopVS2019` parameter specified
* **(*Month Year*) Desktop VS 2022 Gaming Command Prompt:** Calls the *GamingDesktopVars.cmd* file with the `GamingDesktopVS2022` parameter specified
* **(*Month Year*) XBOX One VS 2019 Gaming Command Prompt:** Calls the *GamingXboxVars.cmd* file with the `GamingXboxVS2019 and` *(GXDKEDITION)* parameters specified
* **(*Month Year*) XBOX One VS 2022 Gaming Command Prompt:** Calls the *GamingXboxVars.cmd* file with the `GamingXboxVS2022 and` *(GXDKEDITION)* parameters specified
* **(*Month Year*) XBOX Scarlett VS 2019 Gaming Command Prompt:** Calls the *GamingXboxVars.cmd* file with the `GamingXboxScarlettVS2019` and *(GXDKEDITION)* parameters specified
* **(*Month Year*) XBOX Scarlett VS 2012 Gaming Command Prompt:** Calls the *GamingXboxVars.cmd* file with the `GamingXboxScarlettVS2022` and *(GXDKEDITION)* parameters specified

*GamingDesktopVars.cmd* and *GamingXboxVars.cmd* are also in the *Command Prompts* folder. Ensure that you use the corresponding command-prompt shortcut that reflects your title's supported platform and Visual Studio configuration during development to set up the correct developer environment.

For more information about configuring GDK command prompts and development environments from an extracted flat deployment of the GDK, see [Configuring the build environment without installing the Microsoft Game Development Kit](/build/console-features/build-without-install/build-environment-withoutinstall).


## Related topics

- [Build and run your first console title with GDKX](/home/build-first-title/first-console-title-walkthrough.md)
- [PC Sandbox Switcher (XblPCSandbox.exe)](/tools/tools-services/live-pc-sandbox-switcher.md)
- [Get started packaging PC titles with MSIXVC tools](/build/core-features/common/packaging/overviews/packaging-getting-started-for-PC.md)
- [Getting started with packaging titles for XBOX consoles](/build/core-features/common/packaging/overviews/packaging-getting-started-for-console.md)
- [Integrate the GDK with a custom C/C++ engine](/build/gdk-and-engines/custom-engine.md)
