|
| 1 | +--- |
| 2 | +title: Prerequisites for .NET Core on Mac | Microsoft Docs |
| 3 | +description: Supported macOS versions and .NET Core dependencies to develop, deploy, and run .NET Core applications on macOS machines. |
| 4 | +keywords: .NET, .NET Core, macOS, Mac |
| 5 | +author: guardrex |
| 6 | +ms.author: mairaw |
| 7 | +ms.date: 03/16/2017 |
| 8 | +ms.topic: article |
| 9 | +ms.prod: .net-core |
| 10 | +ms.devlang: dotnet |
| 11 | +ms.assetid: c33b1241-ab66-4583-9eba-52cf51146f5a |
| 12 | +--- |
| 13 | + |
| 14 | +# Prerequisites for .NET Core on Mac |
| 15 | + |
| 16 | +This article shows you the supported macOS versions and .NET Core dependencies that you need to develop, deploy, and run .NET Core applications on macOS machines. The supported OS versions and depdendencies that follow apply to the three ways of developing .NET Core apps on a Mac: via the [command-line with your favorite editor](tutorials/using-with-xplat-cli.md), [Visual Studio Code (VS Code)](https://code.visualstudio.com/), and [Visual Studio for Mac](https://www.visualstudio.com/vs/visual-studio-mac/). |
| 17 | + |
| 18 | +## Supported macOS versions |
| 19 | + |
| 20 | +.NET Core is supported by the following versions of macOS: |
| 21 | + |
| 22 | +* macOS 10.12 "Sierra" |
| 23 | +* macOS 10.11 "El Capitan" |
| 24 | + |
| 25 | +See the [.NET Core Release Notes](https://github.com/dotnet/core/blob/master/release-notes/1.1/1.1.md) for the complete list of supported operating systems. |
| 26 | + |
| 27 | +## .NET Core dependencies |
| 28 | + |
| 29 | +.NET Core requires OpenSSL when running on macOS. An easy way to obtain OpenSSL is by using the [Homebrew ("brew")](http://brew.sh/) package manager for macOS. After installing *brew*, install OpenSSL by executing the following commands at a Terminal (command) prompt: |
| 30 | + |
| 31 | +```Terminal |
| 32 | +brew update |
| 33 | +brew install openssl |
| 34 | +mkdir -p /usr/local/lib |
| 35 | +ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/ |
| 36 | +ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/ |
| 37 | +``` |
| 38 | + |
| 39 | +After installing OpenSSL, obtain the official [.NET Core SDK for Mac installer](https://go.microsoft.com/fwlink/?linkid=843444). .NET Core 1.1.1 is the latest version. For long-term support versions and additional downloads, visit [.NET Downloads: All downloads](https://www.microsoft.com/net/download/core). If you have problems with the installation on macOS, consult [Known issues & workarounds](https://github.com/dotnet/core/blob/master/cli/known-issues.md). |
| 40 | + |
| 41 | +## Visual Studio for Mac |
| 42 | + |
| 43 | +.NET Core development on macOS with Visual Studio for Mac requires: |
| 44 | + |
| 45 | +* A supported version of the macOS operating system |
| 46 | +* OpenSSL |
| 47 | +* .NET Core SDK for Mac |
| 48 | +* [Visual Studio for Mac](https://www.visualstudio.com/vs/visual-studio-mac/) |
0 commit comments