Lesson Weekend

First we'll install .NET, which provides access to the C# language. Follow along with instructions for your operating system below.

Mac

C# and .NET programming are fully supported on Mac operating systems. We can install .NET and C# on a Mac in a few steps:

  1. Download this .NET 5 SDK (Software Development Kit). Clicking this link will prompt a .pkg file download from Microsoft.

  2. Open the file. This will launch an installer which will walk you through installation steps. Use the default settings the installer suggests.

  3. Confirm the installation is successful by opening your terminal and running the command $ dotnet --version. You should see something like this in response:

5.0.100

This means both .NET and C# are successfully installed.

Windows

Note on Windows Versions

These Windows instructions assume you're using Windows 10. If you currently run Windows 7 or Windows 8, you may have a free upgrade available.

If you are not running Windows 10 (and cannot or do not plan to upgrade), specific installation steps may differ. However, your instructor will be available to assist with personal laptop configurations during the first week of the course.

Installation Steps

  1. Download the 64-bit .NET 5 SDK (Software Development Kit). Clicking these links will prompt a .exe file download from Microsoft.

  2. Open the file and follow the steps provided by the installer for your OS.

  3. Confirm the installation is successful by opening a new Windows PowerShell window and running the command dotnet --version. You should see something a response like this (version numbers do not need to be the same):

5.0.102

This means .NET and C# are installed and our computer recognizes the dotnet command.

In the next two lessons, we'll install dotnet script and MySQL.

Lesson 2 of 5
Last updated February 25, 2021