I've installed dot net core on mac, but didn't find “dotnet” command


Today I've just downloaded "dotnet-dev-osx-x64.1.0.0-preview1-002702.pkg" and installed it. After that I tried "dotnet" command in my terminal, nothing printed.

I also tried Spotlight searching, seems nothing found.

Where is this package installed at all?


The key thing is you need to locate the file dotnet.exe, then create a new Symbolic link to create a new shortcut link to that dotnet.exe file in the usr/local/bin folder. Sometimes you see this error "/usr/local/bin//dotnet: File exists", it means the link already exists in that folder (and it's normally a faulty one), to fix that you need to go to that folder and delete the link.

After you have located the dotnet.exe file, in my case it's in the '/usr/local/share/dotnet/dotnet' folder. Create a new symbolic link for it using this command:

ln -s /usr/local/share/dotnet/dotnet /usr/local/bin/

Done! You can run the "dotnet" command now...Hope it helps


  • Spotlight NSMetaDataQuery with invisible items do not auto update
  • Three.js shadow map stripes in each light (now simplified, and with jsfiddle!)
  • How do you search for a certain text across pdf files [closed]
  • Owl Carousel 2: filtering items, but keep the sort order using Javascript
  • Sending rails errors to rspec output
  • Interpreting STRACE output - pipes and forks
  • Why doesnt this Java loop in a thread work?
  • MeeGo Handset Emulator not starting on Windows 7
  • git add error : “fatal : malloc, out of memory”
  • aapt.exe'' finished with non-zero exit value 1
  • where do I find the xml.dom python package for the python-2.6.0-8.9.28 and I have a suse/x86_64 vers
  • How to make JSON.NET deserialize to Microsoft Date Time?
  • Spring boot 2.0.0.M4 required a bean named 'entityManagerFactory' that could not be found
  • Read text file that is not in the main package in a runnable jar
  • Roxygen error “Skipping invalid path”
  • Tamper-proof configuration files in .NET?
  • Code in Job's Script Block after Start-Process Does not Execute
  • Is playing sound in Javascript performance heavy?
  • Date Conversion from yyyy-mm-dd to dd-mm-yyyy
  • Setting up SourceTree to merge unity3d scenes with UnityYAMLMerge
  • Extracting HTML between tags
  • Why value captured by reference in lambda is broken? [duplicate]
  • Jenkins: How To Build multiple projects from a TFS repository?
  • How do I fake an specific browser client when using Java's Net library?
  • javaw.exe and eclipse startup problems
  • Running a C# exe file
  • Knitr HTML Loop - Some HTML output, some R output
  • Why winpcap requires both .lib and .dll to run?
  • Apache 2.4 - remove | delete | uninstall
  • Run Powershell script from inside other Powershell script with dynamic redirection to file
  • Comma separated Values
  • Load html files in TinyMce
  • Error creating VM instance in Google Compute Engine
  • How can I get HTML syntax highlighting in my editor for CakePHP?
  • Hits per day in Google Big Query
  • Why joiner is not used after Sequence generator or Update statergy
  • coudnt use logback because of log4j
  • how does django model after text[] in postgresql [duplicate]
  • Recursive/Hierarchical Query Using Postgres
  • UserPrincipal.Current returns apppool on IIS