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.

OSX package does not modify path or tell the user where files installed to

See original GitHub issue

After installing the package linked from the website on OS X, dotnet is not on my PATH and there is no obvious location where it is installed. The CLI installer documentation says the PATH should be modified by the package.

Steps to reproduce

Install the PKG on Mac OS X.

Expected behavior

dotnet CLI tool should be added to the PATH, or the user should be informed about where the tool has been installed to so they can modify the PATH manually.

Actual behavior

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.0.001598.pkg OS X version: Yosemite 10.10.5

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

7reactions
adelynxcommented, Oct 23, 2016

I solved the issue by adding to PATH the following line: PATH=/usr/local/share/dotnet/:$PATH

0reactions
sanjibcommented, Apr 12, 2017

Package: dotnet-dev-osx-x64.1.0.1.pkg Confirmed, Terminal needed restart after installation for it to find the path.

Read more comments on GitHub >

github_iconTop Results From Across the Web

OSX package does not modify path or tell the user where ...
The CLI installer documentation says the PATH should be modified by the package. Steps to reproduce. Install the PKG on Mac OS X....
Read more >
Can't change install location for package (.pkg) file in Installer
You can force the installation in a different folder as follows: Launch Terminal and run this command installer -pkg <application>.pkg -target ~ ...
Read more >
PackageMaker Install Path for Current User
Can anyone tell me how to set the path. This installation package will be used on 200+ Macs and the current user path...
Read more >
Mac OS X package modifies files in my home directory ...
Here is one solution I found. I am not sure if it is optimal, but it seems to work. First, generate an empty...
Read more >
How should I set the PATH variable on my Mac so ...
I found this related post to be very helpful. Instead of changing the $PATH variable, it just has you simply edit your /etc/paths...
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