Language toolkit
The tools that build and run .NET applications, including C# console programs.
The SDK includes development tools; installing only a runtime is not enough to build a project. You use dotnet through a shell rather than opening an SDK window.
Official setup instructions ↗
At the PowerShell prompt. Type the command, then press Enter. PSTool guide↗
Check installed SDKs. This command works from any folder.
dotnet --list-sdks
What you should see: One or more SDK versions and paths appear. No entries means an SDK is not available to this command.
In File Explorer create an empty practice folder named MyFirstConsole. Open it in VS Code with File → Open Folder. In Terminal → New Terminal (PowerShell), enter these commands one line at a time.
dotnet new console dotnet run
What you should see: The new console project prints its greeting. Open Program.cs in the editor to change the text, save and run dotnet run in this same terminal again.
Some use it only for optional local practice. Each lesson explains what you actually need.
Guide reviewed 2026-09-09. Menu labels can differ between versions.