johan
johan

Reputation: 2329

How to install C# in Mac OSX

can somebody pls tell me how to install C# in Mac OSX 10.6?

Upvotes: 12

Views: 14532

Answers (3)

Douglas Ludlow
Douglas Ludlow

Reputation: 10932

You can use Homebrew to install the latest version of .NET using the dotnet cask:

brew install --cask dotnet

See https://stackoverflow.com/a/57880964/1110395 for installing specific versions with Homebrew.

Manual installers can be downloaded from https://dotnet.microsoft.com/download

Upvotes: 0

ThisClark
ThisClark

Reputation: 14823

Since Visual Studio 2017, Microsoft now offers support for Mac OS. Developers can get the community edition for free which comes with the option to install C# and the .NET framework. However, the .NET framework appears to be limited at this time of writing to version 2.1 on Mac OS.

Aside, I understand this version also includes support for iOS, Android, and Unity.

... not to be confused with the lightweight Visual Studio Code.

Upvotes: 0

Adrian Fâciu
Adrian Fâciu

Reputation: 12552

You can try something like Mono.

Upvotes: 12

Related Questions