Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 1022 Bytes

setup-mac.md

File metadata and controls

54 lines (34 loc) · 1022 Bytes

Setup for macOS

Download the dotnet-install.sh script

curl -sSL https://dot.net/v1/dotnet-install.sh > dotnet-install.sh
chmod +x dotnet-install.sh

.NET Runtime

.NET Runtime 6.0 (LTS)

./dotnet-install.sh --runtime dotnet --channel 6.0 --version latest

or download and install from Microsoft

.NET Runtime 8.0 (LTS)

./dotnet-install.sh --runtime dotnet --channel 8.0 --version latest

or download and install from Microsoft

.NET SDK

.NET SDK 6.0

This is needed by the Visual Studio Code C# extension. Install with dotnet-install.sh script:

./dotnet-install.sh --channel 6.0

.NET SDK 8.0

Install with dotnet-install.sh script:

./dotnet-install.sh --channel 8.0

Test

Test that you can run the dotnet CLI (command line interface)

~/.dotnet/dotnet --version
~/.dotnet/dotnet new console --help