. NET Core on Mac First step, configuring the environment

Source: Internet
Author: User
Tags dotnet install homebrew

It is a shame to say that. NET core has been out so long and not engaged. Now that you've chosen to start, you can't give up halfway. NET Cross-platform, then I'll try it with my Mac.

Installation Step one: Install Homebrew

  

Follow the above steps to go on, which will encounter insufficient permissions to the problem, to execute: sudo chown-r $ (whoami)/usr/local command

Appears must be writable

Install the. NET Core SDK

Download SDK Https://www.microsoft.com/net/core#macos

After the download is complete, you can install the dummy directly.

Restart the terminal, enter the following command to run a Hello World program

mkdir HelloWorld

CD HelloWorld

dotnet New

dotnet Restore

Dotnet Run

Operation Result:

Accustomed to the IDE, how can you less development tools? To download vs Code bar

. NET Core on Mac First step, configuring the environment

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.