Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save JoshuaCarroll/5b164883b1ce2a9c89025aa46ef609b9 to your computer and use it in GitHub Desktop.

Select an option

Save JoshuaCarroll/5b164883b1ce2a9c89025aa46ef609b9 to your computer and use it in GitHub Desktop.
Commands to install .Net core on a Mac
brew update
brew install openssl
ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/
ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/
# Install .NET Core SDK with official installer found here: https://go.microsoft.com/fwlink/?LinkID=809124
sudo install_name_tool -add_rpath /usr/local/opt/openssl/lib /usr/local/share/dotnet/shared/Microsoft.NETCore.App/1.0.0/System.Security.Cryptography.Native.dylib
# Continue with step 3 at https://www.microsoft.com/net/core#macos
@JoshuaCarroll

Copy link
Copy Markdown
Author

Ready to create a .Net app? Run this:

dotnet new
dotnet restore
dotnet run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment