DotNetWhere 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global DotNetWhere --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local DotNetWhere --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=DotNetWhere&version=1.0.0
nuke :add-package DotNetWhere --version 1.0.0
alternate text is missing from this package README image
dotnet where - a .NET global tool to show information about where a NuGet package is installed
Nuget GitHub Nuget GitHub Workflow Status GitHub Workflow Status GitHub issues GitHub pull requests

Installation

Download and install the .NET 6/8 SDK.

Once installed, run the following command:

> dotnet tool install -g DotNetWhere

Example

> dotnet where -p Newtonsoft.Json
DotNetWhere.Core
  net6.0
    NuGet.ProjectModel: 6.8.0
      NuGet.DependencyResolver.Core: 6.8.0
        NuGet.Protocol: 6.8.0
          NuGet.Packaging: 6.8.0
            Newtonsoft.Json: 13.0.3
  net8.0
    NuGet.ProjectModel: 6.8.0
      NuGet.DependencyResolver.Core: 6.8.0
        NuGet.Protocol: 6.8.0
          NuGet.Packaging: 6.8.0
            Newtonsoft.Json: 13.0.3

> dotnet where -d E:\dev\DotNetWhere -p System.* -V /^(?!.*6\.0\.0).*
DotNetWhere.Application
  net6.0
    Spectre.Console.Cli: 0.48.0
      Spectre.Console: 0.48.0
        System.Memory: 4.5.5
DotNetWhere.Core
  net6.0
    NuGet.ProjectModel: 6.8.0
      NuGet.DependencyResolver.Core: 6.8.0
        NuGet.Configuration: 6.8.0
          System.Security.Cryptography.ProtectedData: 4.4.0
        NuGet.Protocol: 6.8.0
          NuGet.Packaging: 6.8.0
            NuGet.Configuration: 6.8.0
              System.Security.Cryptography.ProtectedData: 4.4.0
            System.Security.Cryptography.Pkcs: 6.0.4

Usage

All query arguments are optional:

> dotnet where Newtonsoft.Json --version 13.0.1
> dotnet where Newtonsoft.Json -v 13.0.2
> dotnet where --help
  -d, --dir                Solution directory. When not passed: current
                           directory.

  -p, --package            The NuGet package name. When not passed: all
                           packages. Can be mask or regex.

  -V, --package-version    The NuGet package version. When not passed: any
                           version. Can be mask or regex.

  -f, --format             Output format. Default: Compact. Valid values:
                           Compact, Color, Yaml, Json

  -o, --output             Output file.

  --help                   Display this help screen.

  --version                Display version information.
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.0.2 81 2/18/2024
1.0.1 152 2/11/2024
1.0.0 87 2/8/2024