Skip to content

SDK vs Runtime

Understanding the difference between SDK and Runtime is crucial for .NET development and deployment.

  • Purpose: Development
  • Includes: Compilers, CLI tools, templates, build engines, and the runtime
  • Size: ~500-700 MB
  • When to install: On development machines
  • Purpose: Running existing .NET applications
  • Includes: Just the runtime environment (no compilers or tools)
  • Size: ~50-100 MB
  • When to install: On production servers or end-user machines
  • Purpose: Running web applications
  • Includes: .NET Runtime + ASP.NET Core libraries
Terminal window
# Check installed SDKs
dotnet --list-sdks
# Check installed runtimes
dotnet --list-runtimes