dotnet / dotnet/installer

Global dotnet tool install not finding global tools after installation on Linux with SDK installed

Open
#7,069 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
1.3k
Forks
437
Avg merge
3d 14h
Merged PRs (30d)
21

Description

I'm trying to install several .NET Core Tools globally and it looks like the installation is working fine, however the path to launch the files does not appear to be set properly.

What I'm doing:

* `dotnet tool install -g LiveReloadServer` (or whatever none of them work)
* Close the terminal
* Start terminal
* Run `LiveReloadServer`

This results in `command not found`

![image](https://user-images.githubusercontent.com/1374013/78841828-228fdf00-799a-11ea-9502-a68db9d686a2.png)

The tools are installed properly it looks like:

![image](https://user-images.githubusercontent.com/1374013/78842462-bd3ced80-799b-11ea-8884-43dd3efe153e.png)

Just not linked properly via `PATH`.

### Additional Information
I installed the SDK from the Dotnet download page here, using the instructions on that page:

https://docs.microsoft.com/en-us/dotnet/core/install/linux-package-manager-ubuntu-1910#install-the-net-core-sdk

Install seems to work fine otherwise - I can build and run projects etc. But it looks like the installer didn't add the path to `~/.dotnet/tools` (or any `.dotnet` path).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.