Can't invoke global tool in bash
See original GitHub issueSteps to reproduce
Install a global tool.
Expected behavior
Global tool should exist.
Actual behavior
root@f43f17fa565a:/# dotnet tool list -g
Package Id Version Commands
------------------------------------------
nuke.globaltool 1.0.0 nuke
root@f43f17fa565a:/# bash
root@f43f17fa565a:/# nuke
bash: nuke: command not found
Everything works inside Windows.
Environment data
root@f43f17fa565a:/# dotnet --info
.NET Core SDK (reflecting any global.json):
Version: 2.1.300-preview2-008530
Commit: 822ae6d43a
Runtime Environment:
OS Name: debian
OS Version: 9
OS Platform: Linux
RID: debian.9-x64
Base Path: /usr/share/dotnet/sdk/2.1.300-preview2-008530/
Host (useful for support):
Version: 2.1.0-preview2-26406-04
Commit: 6833f3026b
.NET Core SDKs installed:
2.1.300-preview2-008530 [/usr/share/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.0-preview2-final [/usr/share/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.0-preview2-final [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.0-preview2-26406-04 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
Can't execute global Node.js module from Bash shell script ...
Try echo $SHELL in your terminal window. It is possible your shell is not bash. Also check that your script is indeed running...
Read more >Troubleshoot .NET tool usage issues
If you're trying to run a global tool, check that the PATH environment variable on your machine contains the path where you installed...
Read more >NET tools - .NET CLI
Invoke a tool-path tool To invoke a global tool that's installed by using the tool-path option, ensure that the command is available as ......
Read more >How to fix a "Command not found" error in Linux
5 ways to fix "Command not found" errors · 1. Include the path · 2. Add a new path · 3. Copy a...
Read more >Unable to run file from command line after adding to PATH
So I have a function that I wish to run from my command line. cat foo.sh #!/bin/bash echo foobar. I export it to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For the OSX installer, it should work. Let me investigate. I’ll reopen this issue for now.
Thanks everyone!