billpratt / dotnet-search

Search for Nuget packages using the .NET Core CLI.
MIT License
38 stars 14 forks source link

can not install by running: dotnet install tool --global dotnet-search #2

Closed hoyho closed 6 years ago

hoyho commented 6 years ago

dotnet --info .NET Command Line Tools (2.1.101)

Product Information: Version: 2.1.101 Commit SHA-1 hash: 6c22303bf0

Runtime Environment: OS Name: debian OS Version: 9 OS Platform: Linux RID: linux-x64 Base Path: /usr/share/dotnet/sdk/2.1.101/

Microsoft .NET Core Shared Framework Host

Version : 2.0.6 Build : 74b1c703813c8910df5b96f304b0f2b78cdf194d


see: ~/PycharmProjects/RegEduMail/src ❯ dotnet install tool --global dotnet-search
No executable found matching command "dotnet-install"

billpratt commented 6 years ago

Global tool installation is only available for .NET Core 2.1 (currently in preview) and above. You have .NET Core 2.0.6 installed.

https://blogs.msdn.microsoft.com/dotnet/2018/02/27/announcing-net-core-2-1-preview-1/#global-tools

hoyho commented 6 years ago

since dotnet core 2.1 had released ,i upgrade it but still saying "No executable found matching command "dotnet-install "


➜ Templates dotnet --info
.NET Core SDK (reflecting any global.json): Version: 2.1.300 Commit: adab45bf0c

Runtime Environment: OS Name: debian OS Version: 9 OS Platform: Linux RID: debian.9-x64 Base Path: /usr/share/dotnet/sdk/2.1.300/

Host (useful for support): Version: 2.1.0 Commit: caa7b7e2ba

.NET Core SDKs installed: 2.1.300 [/usr/share/dotnet/sdk]

.NET Core runtimes installed: Microsoft.AspNetCore.All 2.1.0 [/usr/share/dotnet/shared/Microsoft.AspNetCore.All] Microsoft.AspNetCore.App 2.1.0 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 2.1.0 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs: https://aka.ms/dotnet-download