Get started with .NET Core
This article provides information on getting started with .NET Core. .NET Core can be installed on Windows, Linux, and macOS. You can code in your favorite text editor and produce cross-platform libraries and applications.
If you're unsure what .NET Core is, or how it relates to other .NET technologies, start with the What is .NET overview. Put simply, .NET Core is an open-source, cross-platform, implementation of .NET.
Create an application
First, download and install the .NET Core SDK on your computer.
Next, open a terminal such as PowerShell, Command Prompt, or bash. Type the following
dotnet commands to create and run a C# application.
dotnet new console --output sample1 dotnet run --project sample1
You should see the following output:
Congratulations! You've created a simple .NET Core application. You can also use Visual Studio Code, Visual Studio 2017 (Windows only), or Visual Studio for Mac (macOS only), to create a .NET Core application.
You can get started developing .NET Core applications by following these step-by-step tutorials.
Watch a video on how to install and use Visual Studio Code and .NET Core.
Watch a video on how to install and use Visual Studio 2017 and .NET Core.
See the Prerequisites for Windows development article for a list of the supported Windows versions.
Send feedback about: