Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

2,190,758

Downloads of v 2.1.0:

682

Last Update:

17 Sep 2013

Package Maintainer(s):

Software Author(s):

  • Microsoft Corporation

NuGet.CommandLine

This is not the latest version of NuGet.CommandLine available.

  • 1
  • 2
  • 3

2.1.0 | Updated: 17 Sep 2013

Downloads:

2,190,758

Downloads of v 2.1.0:

682

Maintainer(s):

Software Author(s):

  • Microsoft Corporation

NuGet.CommandLine 2.1.0

This is not the latest version of NuGet.CommandLine available.

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Microsoft Corporation. The inclusion of Microsoft Corporation trademark(s), if any, upon this webpage is solely to identify Microsoft Corporation goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Unknown


Verification Testing Unknown


Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install NuGet.CommandLine, run the following command from the command line or from PowerShell:

>

To upgrade NuGet.CommandLine, run the following command from the command line or from PowerShell:

>

To uninstall NuGet.CommandLine, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade nuget.commandline -y --source="'INTERNAL REPO URL'" --version="'2.1.0'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade nuget.commandline -y --source="'INTERNAL REPO URL'" --version="'2.1.0'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install nuget.commandline
  win_chocolatey:
    name: nuget.commandline
    version: '2.1.0'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'nuget.commandline' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '2.1.0'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller nuget.commandline
{
    Name     = "nuget.commandline"
    Version  = "2.1.0"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'nuget.commandline':
  ensure   => '2.1.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

NOTE

This package is likely a meta/virtual (*) or an installer (*.install) or portable (*.portable) application package.

  • Meta/virtual (*) - has a dependency on the *.install or the *.portable package - it is provided for discoverability and for other packages to take a dependency on.
  • Portable (*.portable/*.commandline (deprecated naming convention)/*.tool (deprecated naming convention)) - usually zips or archives that require no administrative access to install.
  • Install (*.install/*.app (deprecated naming convention)) - uses native installers, usually requires administrative access to install.

Learn more about chocolatey's distinction of installed versus portable apps and/or learn about this kind of package.

Package Approved

This package was approved as a trusted package on 27 Dec 2014.

Description

NuGet Command Line Tool


Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Nuget.CommandLine 6.13.2 54913 Wednesday, February 26, 2025 Approved
Nuget.CommandLine 6.13.1 11161 Saturday, February 15, 2025 Approved
Nuget.CommandLine 6.12.4 11 Friday, May 9, 2025 Approved
Nuget.CommandLine 6.12.2 30673 Tuesday, January 7, 2025 Approved
Nuget.CommandLine 6.12.1 36300 Wednesday, November 13, 2024 Approved
Nuget.CommandLine 6.11.1 37402 Monday, September 30, 2024 Approved
Nuget.CommandLine 6.11.0 38371 Wednesday, August 14, 2024 Approved
Nuget.CommandLine 6.10.2 5093 Friday, August 9, 2024 Approved
Nuget.CommandLine 6.10.1 20126 Wednesday, July 10, 2024 Approved
Nuget.CommandLine 6.10.0 47930 Wednesday, May 22, 2024 Approved
Nuget.CommandLine 6.9.1 67713 Tuesday, February 13, 2024 Approved
Nuget.CommandLine 6.8.1 150 Wednesday, February 14, 2024 Approved
Nuget.CommandLine 6.8.0 59214 Wednesday, November 15, 2023 Approved
Nuget.CommandLine 6.7.1 104 Wednesday, February 14, 2024 Approved
Nuget.CommandLine 6.7.0 64803 Thursday, August 10, 2023 Approved
Nuget.CommandLine 6.6.2 87 Wednesday, February 14, 2024 Approved
Nuget.CommandLine 6.6.1 49904 Wednesday, June 14, 2023 Approved
Nuget.CommandLine 6.6.0 41711 Thursday, May 18, 2023 Approved
Nuget.CommandLine 6.5.1 117 Wednesday, June 14, 2023 Approved
Nuget.CommandLine 6.5.0 51930 Tuesday, February 28, 2023 Approved
Nuget.CommandLine 6.4.3 88 Wednesday, February 14, 2024 Approved
Nuget.CommandLine 6.4.2 95 Wednesday, June 14, 2023 Approved
Nuget.CommandLine 6.4.0 59631 Wednesday, November 9, 2022 Approved
Nuget.CommandLine 6.3.4 89 Wednesday, February 14, 2024 Approved
Nuget.CommandLine 6.3.3 3146 Wednesday, June 14, 2023 Approved
Nuget.CommandLine 6.3.1 18963 Wednesday, October 12, 2022 Approved
Nuget.CommandLine 6.3.0 29692 Wednesday, August 10, 2022 Approved
Nuget.CommandLine 6.2.4 283 Wednesday, June 14, 2023 Approved
Nuget.CommandLine 6.2.2 565 Wednesday, October 12, 2022 Approved
Nuget.CommandLine 6.2.1 36137 Friday, June 17, 2022 Approved
Nuget.CommandLine 6.2.0 18948 Thursday, May 12, 2022 Approved
Nuget.CommandLine 6.1.0 37069 Friday, February 18, 2022 Approved
Nuget.CommandLine 6.0.6 98 Wednesday, February 14, 2024 Approved
Nuget.CommandLine 6.0.5 88 Wednesday, June 14, 2023 Approved
Nuget.CommandLine 6.0.3 136 Wednesday, October 12, 2022 Approved
Nuget.CommandLine 6.0.2 242 Tuesday, June 14, 2022 Approved
Nuget.CommandLine 6.0.0 44131 Tuesday, November 9, 2021 Approved
Nuget.CommandLine 6.0.0-preview5 1315 Tuesday, October 19, 2021 Approved
Nuget.CommandLine 6.0.0-preview4 520 Saturday, September 25, 2021 Approved
Nuget.CommandLine 6.0.0-preview3 1023 Saturday, August 14, 2021 Approved
Nuget.CommandLine 5.11.6 163 Wednesday, February 14, 2024 Approved
Nuget.CommandLine 5.11.5 108 Friday, June 16, 2023 Approved
Nuget.CommandLine 5.11.3 120 Wednesday, October 12, 2022 Approved
Nuget.CommandLine 5.11.2 140 Tuesday, June 14, 2022 Approved
Nuget.CommandLine 5.11.0 41061 Saturday, August 14, 2021 Approved
Nuget.CommandLine 5.10.0 24051 Thursday, June 17, 2021 Approved
Nuget.CommandLine 5.10.0-preview2 975 Thursday, April 15, 2021 Approved
Nuget.CommandLine 5.9.3 179 Wednesday, October 12, 2022 Approved
Nuget.CommandLine 5.9.2 135 Tuesday, June 14, 2022 Approved
Nuget.CommandLine 5.9.1 36645 Thursday, April 15, 2021 Approved
Nuget.CommandLine 5.9.0-preview2 1577 Thursday, December 10, 2020 Approved
Nuget.CommandLine 5.8.1 90791 Friday, January 15, 2021 Approved
Nuget.CommandLine 5.8.0 43659 Tuesday, November 10, 2020 Approved
Nuget.CommandLine 5.8.0-preview3 842 Tuesday, September 29, 2020 Approved
Nuget.CommandLine 5.8.0-preview2 1073 Friday, August 28, 2020 Approved
Nuget.CommandLine 5.8.0-preview1 431 Monday, August 17, 2020 Approved
Nuget.CommandLine 5.7.3 149 Wednesday, October 12, 2022 Approved
Nuget.CommandLine 5.7.2 120 Tuesday, June 14, 2022 Approved
Nuget.CommandLine 5.7.1 2127 Thursday, April 15, 2021 Approved
Nuget.CommandLine 5.7.0 51254 Monday, August 17, 2020 Approved
Nuget.CommandLine 5.7.0-preview4 589 Friday, July 17, 2020 Approved
Nuget.CommandLine 5.7.0-preview3 632 Wednesday, June 24, 2020 Approved
Nuget.CommandLine 5.7.0-preview1 1068 Tuesday, May 19, 2020 Approved
Nuget.CommandLine 5.6.0 58587 Tuesday, May 19, 2020 Approved
Nuget.CommandLine 5.6.0-preview6 463 Friday, May 8, 2020 Approved
Nuget.CommandLine 5.6.0-preview3 354 Thursday, April 30, 2020 Approved
Nuget.CommandLine 5.6.0-preview2 527 Friday, April 3, 2020 Exempted
Nuget.CommandLine 5.6.0-preview1 443 Tuesday, March 24, 2020 Approved
Nuget.CommandLine 5.5.1 34855 Friday, April 3, 2020 Approved
Nuget.CommandLine 5.5.0 7182 Tuesday, March 24, 2020 Approved
Nuget.CommandLine 5.5.0-preview2 1158 Saturday, January 25, 2020 Approved
Nuget.CommandLine 5.5.0-preview1 636 Wednesday, December 4, 2019 Approved
Nuget.CommandLine 5.4.0 101787 Wednesday, December 4, 2019 Approved
Nuget.CommandLine 5.3.1 24401 Saturday, October 26, 2019 Approved
Nuget.CommandLine 5.3.0 23788 Tuesday, September 24, 2019 Approved
Nuget.CommandLine 5.3.0-preview3 439 Thursday, September 5, 2019 Approved
Nuget.CommandLine 5.2.1 127 Tuesday, June 14, 2022 Approved
Nuget.CommandLine 5.2.0 40652 Tuesday, July 23, 2019 Approved
Nuget.CommandLine 5.1.0 23636 Tuesday, June 25, 2019 Approved
Nuget.CommandLine 5.1.0-preview3 551 Friday, May 10, 2019 Approved
Nuget.CommandLine 5.0.2 25619 Tuesday, May 14, 2019 Approved
Nuget.CommandLine 5.0.0-preview4 761 Friday, March 1, 2019 Approved
Nuget.CommandLine 5.0.0-preview3 453 Thursday, February 14, 2019 Approved
Nuget.CommandLine 5.0.0-preview2 495 Thursday, January 24, 2019 Approved
Nuget.CommandLine 4.9.6 191 Wednesday, October 12, 2022 Approved
Nuget.CommandLine 4.9.5 130 Tuesday, June 14, 2022 Approved
Nuget.CommandLine 4.9.4 4547 Tuesday, June 25, 2019 Approved
Nuget.CommandLine 4.9.3 48623 Sunday, February 17, 2019 Approved
Nuget.CommandLine 4.9.2 29410 Wednesday, December 12, 2018 Approved
Nuget.CommandLine 4.9.1 6502 Wednesday, November 28, 2018 Approved
Nuget.CommandLine 4.9.0-rc1 438 Tuesday, November 13, 2018 Approved
Nuget.CommandLine 4.8.2 375 Tuesday, June 25, 2019 Approved
Nuget.CommandLine 4.8.1 24450 Sunday, September 9, 2018 Approved
Nuget.CommandLine 4.7.3 393 Tuesday, June 25, 2019 Approved
Nuget.CommandLine 4.7.1 16683 Friday, August 10, 2018 Approved
Nuget.CommandLine 4.6.4 335 Tuesday, June 25, 2019 Approved
Nuget.CommandLine 4.6.2 36528 Saturday, April 7, 2018 Approved
Nuget.CommandLine 4.5.3 1092 Tuesday, June 25, 2019 Approved
Nuget.CommandLine 4.5.1 24975 Wednesday, January 31, 2018 Approved
Nuget.CommandLine 4.5.0 1774 Tuesday, January 30, 2018 Approved
Nuget.CommandLine 4.4.3 334 Tuesday, June 25, 2019 Approved
Nuget.CommandLine 4.4.1 245899 Tuesday, November 21, 2017 Approved
Nuget.CommandLine 4.3.1 1051 Tuesday, June 25, 2019 Approved
Nuget.CommandLine 4.3.0 28076 Tuesday, August 22, 2017 Approved
Nuget.CommandLine 4.3.0-preview3-4168 567 Thursday, August 17, 2017 Approved
Nuget.CommandLine 4.1.0 23797 Monday, May 22, 2017 Approved
Nuget.CommandLine 4.0.0 403 Tuesday, June 25, 2019 Approved
Nuget.CommandLine 3.5.0 11931 Monday, April 17, 2017 Approved
Nuget.CommandLine 3.4.4 4225 Tuesday, June 25, 2019 Approved
NuGet.CommandLine 3.4.4-rtm-final 5127 Wednesday, July 27, 2016 Approved
NuGet.CommandLine 3.4.3 45548 Tuesday, May 10, 2016 Approved
NuGet.CommandLine 3.3.0 19390 Monday, January 11, 2016 Approved
Nuget.CommandLine 3.2.0 384 Tuesday, June 25, 2019 Approved
NuGet.CommandLine 2.8.6 19807 Tuesday, July 28, 2015 Approved
NuGet.CommandLine 2.8.5 12635 Tuesday, April 7, 2015 Approved
NuGet.CommandLine 2.8.3 10087 Monday, December 29, 2014 Approved
NuGet.CommandLine 2.8.2 10062 Wednesday, June 25, 2014 Approved
NuGet.CommandLine 2.8.1 915 Wednesday, June 25, 2014 Approved
NuGet.CommandLine 2.8.0 4508 Tuesday, February 4, 2014 Approved
NuGet.CommandLine 2.7.3 2682 Friday, December 20, 2013 Approved
NuGet.CommandLine 2.7.2 725 Friday, December 20, 2013 Approved
NuGet.CommandLine 2.7.1 1496 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 2.7.0 710 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 2.6.1 698 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 2.5.0 11986 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 2.2.1 755 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 2.2.0 766 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 2.1.2 638 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 2.1.1 684 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 2.1.0 682 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 2.0.40001 746 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 2.0.0 715 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 1.8.40002 675 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 1.8.1 710 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 1.8.0 741 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 1.7.0 725 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 1.6.0 3170 Tuesday, September 17, 2013 Approved

This package has no dependencies.

Discussion for the NuGet.CommandLine Package

Ground Rules:

  • This discussion is only about NuGet.CommandLine and the NuGet.CommandLine package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or NuGet.CommandLine, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus