Skip to content

Designate nuget source for dotnet tool install commands #15477

Description

@pdevito3

Currently, if I have private nuget sources, I need to disable them before I can install a public facing dotnet tool. I'd like to request a feature, like dotnet new --nuget-source for dotnet install tool. Something like the below:

dotnet tool install -g craftsman --nuget-source https://api.nuget.org/v3/index.json

Activity

  1. ghost added
    untriagedRequest triage from a team member
    on Jan 24, 2021
  2. added and removed
    untriagedRequest triage from a team member
    on Jan 28, 2021
  3. removed their assignment
    on Jan 28, 2021
  4. added this to the Backlog milestone on Jan 28, 2021
  5. CHR-LeeOlsen commented on Dec 13, 2021

    @CHR-LeeOlsen

    The add source argument doesn't cover that need?

    --add-source

    Adds an additional NuGet package source to use during installation. Feeds are accessed in parallel, not sequentially in some order of precedence. If the same package and version is in multiple feeds, the fastest feed wins. For more information, see What happens when a NuGet package is installed?.

  6. github-actions commented on May 27, 2026

    @github-actions
    Contributor

    Due to lack of recent activity, this issue has been labeled as 'Stale'. It will be closed if no further activity occurs within 14 more days. Any new comment will remove the label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions