The best way to develop with .NET Core on Windows is using Visual Studio. You can download Visual Studio Community 2015 for free. Download and install:
You can also develop .NET Core apps from the command-line by downloading the .NET Core SDK for Windows. You can use your own editor, or with Visual Studio Code (free).
Let's initialize a sample Hello World application!
The first command will restore the packages specified in the project.json file, and the second command will run the actual sample:
You now have .NET core running on your machine!
You can create a website with ASP.NET Core or you can visit the .NET Core on GitHub for more samples. Take a look at the .NET Documentation to learn more about .NET Core, use one of our interactive online tutorials or get involved with the community to learn more about .NET Core!
Visual Studio Community is a great IDE available for no charge, but you can also try out Visual Studio Code for a lightweight code editing experience. Visual Studio Code runs on Windows (and other platforms as well!) and has full support for .NET Core. Download Visual Studio Code for free and install the C# extension from the marketplace to get a great code editing experience.
In order to install .NET Core from Red Hat on RHEL Server, you first need to enable the .NET Core channel which is available under your RHEL 7 Server subscription. You also need to ensure that your system supports enabling software collections via the scl tool.
For help on registering your machine to get access to the channel see the Chapter 1 of the .NET Core Getting Started Guide at Red Hat.
Now you can install .NET Core and then enable the .NET Core software collection.
For additional help and guidance on installing and enabling .NET Core on RHEL Server, see the .NET Core Getting Started Guide at Red Hat
Let's initialize a sample Hello World application!
The first command will restore the packages specified in the project.json file, and the second command will run the actual sample:
You now have .NET core running on your machine!
You can create a website with ASP.NET Core or you can visit the .NET Core on GitHub for more samples. Take a look at the .NET Documentation to learn more about .NET Core, use one of our interactive online tutorials or get involved with the community to learn more about .NET Core!
Visual Studio Code runs on RHEL and has full support for .NET Core. Download Visual Studio Code for free and install the C# extension from the marketplace to get the best experience.
Before you start, please remove any previous versions of .NET Core from your system.
In order to install .NET Core on CentOS or Oracle Linux, first you need to get the prerequisites and then you download the .NET Core SDK binaries, extract them onto your system and put dotnet onto your PATH.
Let's initialize a sample Hello World application!
The first command will restore the packages specified in the project.json file, and the second command will run the actual sample:
You now have .NET core running on your machine!
You can create a website with ASP.NET Core or you can visit the .NET Core on GitHub for more samples. Take a look at the .NET Documentation to learn more about .NET Core, use one of our interactive online tutorials or get involved with the community to learn more about .NET Core!
Visual Studio Code runs on Linux and has full support for .NET Core. Download Visual Studio Code for free and install the C# extension from the marketplace to get the best experience.
Before you start, please remove any previous versions of .NET Core from your system.
In order to install .NET Core on Debian, first you need to get the prerequisites and then you download the .NET Core SDK binaries, extract them onto your system and put dotnet onto your PATH.
Let's initialize a sample Hello World application!
The first command will restore the packages specified in the project.json file, and the second command will run the actual sample:
You now have .NET core running on your machine!
You can create a website with ASP.NET Core or you can visit the .NET Core on GitHub for more samples. Take a look at the .NET Documentation to learn more about .NET Core, use one of our interactive online tutorials or get involved with the community to learn more about .NET Core!
Visual Studio Code runs on Linux and has full support for .NET Core. Download Visual Studio Code for free and install the C# extension from the marketplace to get the best experience.
Before you start, please remove any previous versions of .NET Core from your system.
In order to install .NET Core on Fedora, first you need to get the prerequisites and then you download the .NET Core SDK binaries, extract them onto your system and put dotnet onto your PATH.
Let's initialize a sample Hello World application!
The first command will restore the packages specified in the project.json file, and the second command will run the actual sample:
You now have .NET core running on your machine!
You can create a website with ASP.NET Core or you can visit the .NET Core on GitHub for more samples. Take a look at the .NET Documentation to learn more about .NET Core, use one of our interactive online tutorials or get involved with the community to learn more about .NET Core!
Visual Studio Code runs on Linux and has full support for .NET Core. Download Visual Studio Code for free and install the C# extension from the marketplace to get the best experience.
Before you start, please remove any previous versions of .NET Core from your system.
In order to install .NET Core on openSUSE, first you need to get the prerequisites and then you download the .NET Core SDK binaries, extract them onto your system and put dotnet onto your PATH.
Let's initialize a sample Hello World application!
The first command will restore the packages specified in the project.json file, and the second command will run the actual sample:
You now have .NET core running on your machine!
You can create a website with ASP.NET Core or you can visit the .NET Core on GitHub for more samples. Take a look at the .NET Documentation to learn more about .NET Core, use one of our interactive online tutorials or get involved with the community to learn more about .NET Core!
Visual Studio Code runs on Linux and has full support for .NET Core. Download Visual Studio Code for free and install the C# extension from the marketplace to get the best experience.
In order to install .NET Core on Ubuntu or Linux Mint, you need to first set up the apt-get feed that hosts the package you need.
Before you start, please remove any previous versions of .NET Core from your system by using this script.
To .NET Core on Ubuntu or Linux Mint, simply use apt-get.
Let's initialize a sample Hello World application!
The first command will restore the packages specified in the project.json file, and the second command will run the actual sample:
You now have .NET core running on your machine!
You can create a website with ASP.NET Core or you can visit the .NET Core on GitHub for more samples. Take a look at the .NET Documentation to learn more about .NET Core, use one of our interactive online tutorials or get involved with the community to learn more about .NET Core!
Visual Studio Code runs on Linux and has full support for .NET Core. Download Visual Studio Code for free and install the C# extension from the marketplace to get the best experience.
In order to use .NET Core, you first need to install the latest version of OpenSSL.
The easiest way to get this is from Homebrew.
After installing brew, do the following:
The best way to install .NET Core on macOS is to download the official installer.
This installer will install the tools and put them on your PATH so you can run dotnet from the Console
Note: if you have any problems with installation on macOS, please consult our known issues page.
Let's initialize a sample Hello World application!
The first command will restore the packages specified in the project.json file, and the second command will run the actual sample:
You now have .NET core running on your machine!
You can create a website with ASP.NET Core or you can visit the .NET Core on GitHub for more samples. Take a look at the .NET Documentation to learn more about .NET Core, use one of our interactive online tutorials or get involved with the community to learn more about .NET Core!
Visual Studio Code runs on macOS and has full support for .NET Core. Download Visual Studio Code for free and install the C# extension from the marketplace to get the best experience.
The following command will get you a running container with the toolchain, straight off of Microsoft's Docker Hub.
Let's initialize a sample Hello World application!
The first command will restore the packages specified in the project.json file, and the second command will run the actual sample:
You now have .NET core running on your machine!
You can create a website with ASP.NET Core or you can visit the .NET Core on GitHub for more samples. Take a look at the .NET Documentation to learn more about .NET Core, use one of our interactive online tutorials or get involved with the community to learn more about .NET Core!
On Windows, Visual Studio provides a great development experience for Docker containers, you can download Visual Studio Community 2015 for free and the Docker tools for Visual Studio.
You can also try out Visual Studio Code for a lightweight code editing experience which runs everywhere (including Mac and Linux). Download Visual Studio Code for free and install the C# extension from the marketplace to get a great code editing experience along with the Docker Tools for VS Code. If you use Yeoman, then take a look at yo docker to help you create, run and debug your .NET Core project inside of a Docker container.