question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dotnet: command not found mac OS X, dotnet-osx-x64.1.0.0.001598.pkg

See original GitHub issue

Steps to reproduce

Install .NET Core with OSX 10.11 installer: dotnet-osx-x64.1.0.0.001598.pkg open mac terminal: type dotnet

symbolic links missing on post-installation

Creating links with the following fixes the issue. ln -s /usr/local/share/dotnet/bin/dotnet /usr/local/bin/ ln -s /usr/local/share/dotnet/bin/csc /usr/local/bin/

Expected behavior

dotnet command runs with command line options that have been chosen.

Actual behavior

-bash: dotnet: command not found

Environment data

dotnet --info output:

None because dotnet command not found.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:20
  • Comments:57 (6 by maintainers)

github_iconTop GitHub Comments

496reactions
HagamosVideojuegoscommented, May 19, 2016

I fix it with this command line: ln -s /usr/local/share/dotnet/dotnet /usr/local/bin/

85reactions
flyingskycommented, May 17, 2016

Actually after install, i need open new terminal to run command. Then it works. Do NOT add symlink manually.

Read more comments on GitHub >

github_iconTop Results From Across the Web

command not found mac OS X, dotnet-osx-x64.1.0. ...
Steps to reproduce Install .NET Core with OSX 10.11 installer: dotnet-osx-x64.1.0.0.001598.pkg open mac terminal: type dotnet symbolic links ...
Read more >
OSX package does not modify path or tell the user where ...
The PATH has not been changed and there is no help message to suggest where to look. Environment data. Package version: dotnet-osx-x64.1.0.
Read more >
Untitled
Mac os dotnet command not found How to Fix “Command Not Found” Errors in Mac ... NET Core with OSX 10.11 installer: dotnet-osx-x64.1.0.0.001598.pkg...
Read more >
Untitled
NET Core with OSX 10.11 installer: dotnet-osx-x64.1.0.0.001598.pkg open mac terminal: type dotnet symbolic links missing on post …
Read more >
Mac の Visual Studio Code で 「the .net cli tools cannot be ...
Mac の Visual Studio Code で 「the .net cli tools cannot be located. ... dotnet: command not found mac OS X, dotnet-osx-x64.1.0.0.001598.pkg ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found