Chocolatey Community Coffee Break

Join the Chocolatey Team on our regular monthly stream where we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

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

Announcing Chocolatey Central Management 0.10.0

Livestream from
Thursday, 06 October 2022

We recently released our largest update to Chocolatey Central Management so far. Join Gary and Steph to find out more about Chocolatey Central Management and the new features and fixes we've added to this release.

Watch On-Demand
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
Chocolatey Product Spotlight: Chocolatey 1.2.0 and Chocolatey Licensed Extension 5.0.0

Livestream from
Thursday, 03 November 2022

Join Paul and Gary for this months Chocolatey product livestream where we look at the latest release of Chocolatey 1.2.0, Chocolatey Licensed Extension 5.0.0 and shine a spotlight on the new hook scripts functionality. This opens up so many possibilities for Chocolatey CLI users!

Watch On-Demand
Chocolatey Coding Livestream

Livestream from
Tuesday, 29 November 2022

Join Josh as he adds the ability to manage Chocolatey GUI config and features with the Chocolatey Ansible Collection.

Watch On-Demand
Introduction into Chocolatey with Veeam

Webinar from
Tuesday, 13 December 2022

Join Gary, Paul, and Maurice as they introduce and demonstrate how to use Chocolatey! Questions will be answered live in an Ask Me Anything format.

Watch On-Demand

Downloads:

1,668,839

Downloads of v 5.6.0-preview3:

247

Last Update:

30 Apr 2020

Package Maintainer(s):

Software Author(s):

  • Microsoft

Tags:

nuget dot.net microsoft foss cross-platform

Nuget.CommandLine

This is a prerelease version of Nuget.CommandLine.

  • 1
  • 2
  • 3

5.6.0-preview3 | Updated: 30 Apr 2020

Downloads:

1,668,839

Downloads of v 5.6.0-preview3:

247

Maintainer(s):

Software Author(s):

  • Microsoft

Nuget.CommandLine 5.6.0-preview3

This is a prerelease version of Nuget.CommandLine.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

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="'5.6.0-preview3'" --prerelease [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="'5.6.0-preview3'" --prerelease
$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: '5.6.0-preview3'
    source: INTERNAL REPO URL
    state: present
    allow_prerelease: yes

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  '5.6.0-preview3'
  options  '--prerelease'
end

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


cChocoPackageInstaller nuget.commandline
{
    Name        = "nuget.commandline"
    Version     = "5.6.0-preview3"
    Source      = "INTERNAL REPO URL"
    chocoParams = "--prerelease"
}

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


package { 'nuget.commandline':
  ensure          => '5.6.0-preview3',
  install_options => ['--prerelease'],
  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 30 Apr 2020.

Description

NuGet is the package manager for the Microsoft development platforms including .NET. NuGet gives you access to thousands of packages from other developers on nuget.org, and the NuGet tools let you create, share, and host packages of your own.

Notes

This package contains preview and released and recommended versions.


legal\LICENSE.txt
Copyright (c) .NET Foundation and Contributors.

All rights reserved.


Licensed under the Apache License, Version 2.0 (the "License"); you may not use
these files except in compliance with the License. You may obtain a copy of the
License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.
legal\VERIFICATION.txt
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

The embedded software have been downloaded from the software authors
website located at <https://www.nuget.org/downloads>
and can be verified by doing the following:

1. Download the following <https://dist.nuget.org/win-x86-commandline/v5.6.0-preview3/nuget.exe>
2. Extract the downloaded nupkg file by using one of the following methods
  - Use the 7z utility: '7z.exe'
  - Using the powershell function 'Expand-Archive'
3. Get the checksum using one of the following methods:
  - Using powershell function 'Get-FileHash'
  - Use chocolatey utility 'checksum.exe'
4. The checksums should match the following:

  checksum type: sha256
  checksum: 16AEDBB4CC3A1D107D71B01FC1014C1274D325D18D190851A433727143FE2FDF

The file 'LICENSE.txt' has been obtained from <https://github.com/NuGet/NuGet.Client/blob/bf52f1045992f21eee205dc9a8356a4ce1072b91/LICENSE.txt>
tools\nuget.exe
md5: B282C961EC42D14E535F70ADC7CAAC3E | sha1: 8EED4A162BBE3C6A27C2F05DCB35D54C489E0AAD | sha256: 16AEDBB4CC3A1D107D71B01FC1014C1274D325D18D190851A433727143FE2FDF | sha512: 15DFCF61DBA77837C3B03EBB04E8F2A41A115ABCC983FA89BCC355D9574E73E1D7441691626FF993EDD652678C6C10B63908ED83F2198564D45EDF9EA6FE3410

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.6.1 43140 Wednesday, June 14, 2023 Approved
Nuget.CommandLine 6.6.0 36648 Thursday, May 18, 2023 Approved
Nuget.CommandLine 6.5.1 20 Wednesday, June 14, 2023 Approved
Nuget.CommandLine 6.5.0 50894 Tuesday, February 28, 2023 Approved
Nuget.CommandLine 6.4.2 14 Wednesday, June 14, 2023 Approved
Nuget.CommandLine 6.4.0 57572 Wednesday, November 9, 2022 Approved
Nuget.CommandLine 6.3.3 16 Wednesday, June 14, 2023 Approved
Nuget.CommandLine 6.3.1 17695 Wednesday, October 12, 2022 Approved
Nuget.CommandLine 6.3.0 29393 Wednesday, August 10, 2022 Approved
Nuget.CommandLine 6.2.4 70 Wednesday, June 14, 2023 Approved
Nuget.CommandLine 6.2.2 266 Wednesday, October 12, 2022 Approved
Nuget.CommandLine 6.2.1 26618 Friday, June 17, 2022 Approved
Nuget.CommandLine 6.2.0 18823 Thursday, May 12, 2022 Approved
Nuget.CommandLine 6.1.0 36396 Friday, February 18, 2022 Approved
Nuget.CommandLine 6.0.5 15 Wednesday, June 14, 2023 Approved
Nuget.CommandLine 6.0.3 33 Wednesday, October 12, 2022 Approved
Nuget.CommandLine 6.0.2 135 Tuesday, June 14, 2022 Approved
Nuget.CommandLine 6.0.0 43860 Tuesday, November 9, 2021 Approved
Nuget.CommandLine 6.0.0-preview5 1212 Tuesday, October 19, 2021 Approved
Nuget.CommandLine 6.0.0-preview4 428 Saturday, September 25, 2021 Approved
Nuget.CommandLine 6.0.0-preview3 913 Saturday, August 14, 2021 Approved
Nuget.CommandLine 5.11.5 20 Friday, June 16, 2023 Approved
Nuget.CommandLine 5.11.3 46 Wednesday, October 12, 2022 Approved
Nuget.CommandLine 5.11.2 54 Tuesday, June 14, 2022 Approved
Nuget.CommandLine 5.11.0 39685 Saturday, August 14, 2021 Approved
Nuget.CommandLine 5.10.0 23639 Thursday, June 17, 2021 Approved
Nuget.CommandLine 5.10.0-preview2 882 Thursday, April 15, 2021 Approved
Nuget.CommandLine 5.9.3 44 Wednesday, October 12, 2022 Approved
Nuget.CommandLine 5.9.2 43 Tuesday, June 14, 2022 Approved
Nuget.CommandLine 5.9.1 32985 Thursday, April 15, 2021 Approved
Nuget.CommandLine 5.9.0-preview2 1473 Thursday, December 10, 2020 Approved
Nuget.CommandLine 5.8.1 79703 Friday, January 15, 2021 Approved
Nuget.CommandLine 5.8.0 42303 Tuesday, November 10, 2020 Approved
Nuget.CommandLine 5.8.0-preview3 728 Tuesday, September 29, 2020 Approved
Nuget.CommandLine 5.8.0-preview2 936 Friday, August 28, 2020 Approved
Nuget.CommandLine 5.8.0-preview1 331 Monday, August 17, 2020 Approved
Nuget.CommandLine 5.7.3 30 Wednesday, October 12, 2022 Approved
Nuget.CommandLine 5.7.2 33 Tuesday, June 14, 2022 Approved
Nuget.CommandLine 5.7.1 2040 Thursday, April 15, 2021 Approved
Nuget.CommandLine 5.7.0 50711 Monday, August 17, 2020 Approved
Nuget.CommandLine 5.7.0-preview4 498 Friday, July 17, 2020 Approved
Nuget.CommandLine 5.7.0-preview3 532 Wednesday, June 24, 2020 Approved
Nuget.CommandLine 5.7.0-preview1 944 Tuesday, May 19, 2020 Approved
Nuget.CommandLine 5.6.0 56032 Tuesday, May 19, 2020 Approved
Nuget.CommandLine 5.6.0-preview6 355 Friday, May 8, 2020 Approved
Nuget.CommandLine 5.6.0-preview3 247 Thursday, April 30, 2020 Approved
Nuget.CommandLine 5.6.0-preview2 413 Friday, April 3, 2020 Exempted
Nuget.CommandLine 5.6.0-preview1 343 Tuesday, March 24, 2020 Approved
Nuget.CommandLine 5.5.1 34492 Friday, April 3, 2020 Approved
Nuget.CommandLine 5.5.0 7069 Tuesday, March 24, 2020 Approved
Nuget.CommandLine 5.5.0-preview2 1037 Saturday, January 25, 2020 Approved
Nuget.CommandLine 5.5.0-preview1 530 Wednesday, December 4, 2019 Approved
Nuget.CommandLine 5.4.0 101342 Wednesday, December 4, 2019 Approved
Nuget.CommandLine 5.3.1 24204 Saturday, October 26, 2019 Approved
Nuget.CommandLine 5.3.0 22981 Tuesday, September 24, 2019 Approved
Nuget.CommandLine 5.3.0-preview3 357 Thursday, September 5, 2019 Approved
Nuget.CommandLine 5.2.1 35 Tuesday, June 14, 2022 Approved
Nuget.CommandLine 5.2.0 39860 Tuesday, July 23, 2019 Approved
Nuget.CommandLine 5.1.0 23458 Tuesday, June 25, 2019 Approved
Nuget.CommandLine 5.1.0-preview3 457 Friday, May 10, 2019 Approved
Nuget.CommandLine 5.0.2 25422 Tuesday, May 14, 2019 Approved
Nuget.CommandLine 5.0.0-preview4 648 Friday, March 1, 2019 Approved
Nuget.CommandLine 5.0.0-preview3 351 Thursday, February 14, 2019 Approved
Nuget.CommandLine 5.0.0-preview2 386 Thursday, January 24, 2019 Approved
Nuget.CommandLine 4.9.6 42 Wednesday, October 12, 2022 Approved
Nuget.CommandLine 4.9.5 38 Tuesday, June 14, 2022 Approved
Nuget.CommandLine 4.9.4 3319 Tuesday, June 25, 2019 Approved
Nuget.CommandLine 4.9.3 48447 Sunday, February 17, 2019 Approved
Nuget.CommandLine 4.9.2 29266 Wednesday, December 12, 2018 Approved
Nuget.CommandLine 4.9.1 6402 Wednesday, November 28, 2018 Approved
Nuget.CommandLine 4.9.0-rc1 350 Tuesday, November 13, 2018 Approved
Nuget.CommandLine 4.8.2 258 Tuesday, June 25, 2019 Approved
Nuget.CommandLine 4.8.1 24286 Sunday, September 9, 2018 Approved
Nuget.CommandLine 4.7.3 236 Tuesday, June 25, 2019 Approved
Nuget.CommandLine 4.7.1 16513 Friday, August 10, 2018 Approved
Nuget.CommandLine 4.6.4 223 Tuesday, June 25, 2019 Approved
Nuget.CommandLine 4.6.2 36293 Saturday, April 7, 2018 Approved
Nuget.CommandLine 4.5.3 835 Tuesday, June 25, 2019 Approved
Nuget.CommandLine 4.5.1 24680 Wednesday, January 31, 2018 Approved
Nuget.CommandLine 4.5.0 1680 Tuesday, January 30, 2018 Approved
Nuget.CommandLine 4.4.3 241 Tuesday, June 25, 2019 Approved
Nuget.CommandLine 4.4.1 242930 Tuesday, November 21, 2017 Approved
Nuget.CommandLine 4.3.1 709 Tuesday, June 25, 2019 Approved
Nuget.CommandLine 4.3.0 27457 Tuesday, August 22, 2017 Approved
Nuget.CommandLine 4.3.0-preview3-4168 471 Thursday, August 17, 2017 Approved
Nuget.CommandLine 4.1.0 23577 Monday, May 22, 2017 Approved
Nuget.CommandLine 4.0.0 286 Tuesday, June 25, 2019 Approved
Nuget.CommandLine 3.5.0 11742 Monday, April 17, 2017 Approved
Nuget.CommandLine 3.4.4 2062 Tuesday, June 25, 2019 Approved
NuGet.CommandLine 3.4.4-rtm-final 4980 Wednesday, July 27, 2016 Approved
NuGet.CommandLine 3.4.3 45355 Tuesday, May 10, 2016 Approved
NuGet.CommandLine 3.3.0 19252 Monday, January 11, 2016 Approved
Nuget.CommandLine 3.2.0 289 Tuesday, June 25, 2019 Approved
NuGet.CommandLine 2.8.6 19700 Tuesday, July 28, 2015 Approved
NuGet.CommandLine 2.8.5 12344 Tuesday, April 7, 2015 Approved
NuGet.CommandLine 2.8.3 9990 Monday, December 29, 2014 Approved
NuGet.CommandLine 2.8.2 9987 Wednesday, June 25, 2014 Approved
NuGet.CommandLine 2.8.1 836 Wednesday, June 25, 2014 Approved
NuGet.CommandLine 2.8.0 4429 Tuesday, February 4, 2014 Approved
NuGet.CommandLine 2.7.3 2594 Friday, December 20, 2013 Approved
NuGet.CommandLine 2.7.2 646 Friday, December 20, 2013 Approved
NuGet.CommandLine 2.7.1 1380 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 2.7.0 634 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 2.6.1 616 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 2.5.0 11882 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 2.2.1 650 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 2.2.0 663 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 2.1.2 549 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 2.1.1 596 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 2.1.0 603 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 2.0.40001 663 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 2.0.0 625 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 1.8.40002 597 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 1.8.1 610 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 1.8.0 642 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 1.7.0 618 Tuesday, September 17, 2013 Approved
NuGet.CommandLine 1.6.0 3073 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