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:

141,948

Downloads of v 4.0.5801:

2,042

Last Update:

16 May 2024

Package Maintainer(s):

Software Author(s):

  • Microsoft

Tags:

azure functions azure-function cli core-tools

Azure Function Core Tools

  • 1
  • 2
  • 3

4.0.5801 | Updated: 16 May 2024

Downloads:

141,948

Downloads of v 4.0.5801:

2,042

Maintainer(s):

Software Author(s):

  • Microsoft

Azure Function Core Tools 4.0.5801

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

Requires reboot due to dependency.

Details

Scan Testing Exemption for this package version only:

Package contains file(s) too big to be uploaded to VirusTotal!

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Azure Function Core Tools, run the following command from the command line or from PowerShell:

>

To upgrade Azure Function Core Tools, run the following command from the command line or from PowerShell:

>

To uninstall Azure Function Core Tools, 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 azure-functions-core-tools -y --source="'INTERNAL REPO URL'" [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 azure-functions-core-tools -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Install azure-functions-core-tools
  win_chocolatey:
    name: azure-functions-core-tools
    version: '4.0.5801'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'azure-functions-core-tools' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '4.0.5801'
end

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


cChocoPackageInstaller azure-functions-core-tools
{
    Name     = "azure-functions-core-tools"
    Version  = "4.0.5801"
    Source   = "INTERNAL REPO URL"
}

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


package { 'azure-functions-core-tools':
  ensure   => '4.0.5801',
  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.

Package Approved

This package was approved as a trusted package on 16 May 2024.

Description

The Azure Functions Core Tools provide a local development experience for creating, developing, testing, running, and debugging Azure Functions.


tools\chocolateyinstall.ps1
$ErrorActionPreference = 'STOP';

$packageName= 'azure-functions-core-tools'
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url_arm64      = 'https://functionscdn.azureedge.net/public/4.0.5801/Azure.Functions.Cli.win-arm64.4.0.5801.zip'
$url_x86        = 'https://functionscdn.azureedge.net/public/4.0.5801/Azure.Functions.Cli.win-x86.4.0.5801.zip'
$url_x64        = 'https://functionscdn.azureedge.net/public/4.0.5801/Azure.Functions.Cli.win-x64.4.0.5801.zip'
$checksum_arm64 = 'DBDDD9352A7DB37F1377E617672060490595549CD1C29E8C6D97DDE128D3C3D28D789382C505EBC2D482AE57DAD9A25624056BF4BF688F70350DAE3714BD49D7'
$checksum_x86   = '030B7CC7FC103F190855BB92676F13DCACD589E4289F37286D89CA99DE737790E1D378C96AE3A0B7A5F6EC7A590F199B90A21DE4861FB821C84D56DB85693A63'
$checksum_x64   = '2590496E33843BB904C25A7B771E8983E8FE9BCA8E8C579B3710BF89B8F8A00F2386E8D85A20A7235D78D387DFAC422419802AF88F90F6D138AB86270699633A'

# Get-PackageParameters returns a hash table array of values
$pp = Get-PackageParameters
# If specifically asked for x64 or arm64, we use that
if ($pp.ContainsKey('x64'))
{
  $url = $url_x64
  $checksum = $checksum_x64
}
elseif ($pp.ContainsKey('arm64'))
{
  $url =  $url_arm64
  $checksum = $checksum_arm64
}
else
{
  # By default, we want the x86 installer
  $url = $url_x86
  $checksum = $checksum_x86
}

$packageArgs = @{
  packageName   = $packageName
  unzipLocation = $toolsDir
  url           = $url
  checksum      = $checksum
  checksumType  = 'SHA512'
}

Install-ChocolateyZipPackage @packageArgs

# only symlink for func.exe
$files = Get-ChildItem $toolsDir -include *.exe -recurse
foreach ($file in $files) {
  if (!$file.Name.Equals("func.exe")) {
    #generate an ignore file
    New-Item "$file.ignore" -type file -force | Out-Null
  }
}

try {
  New-Item -type File -Path $toolsDir -Name "telemetryDefaultOn.sentinel" | Out-Null

  # show telemetry information
  ""
  "Telemetry"
  "---------"
  "The Azure Functions Core tools collect usage data in order to help us improve your experience."
  "The data is anonymous and doesn't include any user specific or personal information. The data is collected by Microsoft."
  ""
  "You can opt-out of telemetry by setting the FUNCTIONS_CORE_TOOLS_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell."
  ""
}
catch
{
  # That's ok
}

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
Azure Function Core Tools 4.0.5700 1808 Monday, May 6, 2024 Approved
Azure Function Core Tools 4.0.5611 7040 Monday, March 25, 2024 Approved
Azure Function Core Tools 4.0.5571 2555 Monday, March 11, 2024 Approved
Azure Function Core Tools 4.0.5530 4070 Friday, February 16, 2024 Approved
Azure Function Core Tools 4.0.5455 11639 Wednesday, November 8, 2023 Approved
Azure Function Core Tools 4.0.5441 2606 Wednesday, October 25, 2023 Approved
Azure Function Core Tools 4.0.5413 2087 Friday, October 13, 2023 Approved
Azure Function Core Tools 4.0.5390 2959 Wednesday, September 27, 2023 Approved
Azure Function Core Tools 4.0.5382 730 Monday, September 25, 2023 Approved
Azure Function Core Tools 4.0.5348 2549 Monday, September 11, 2023 Approved
Azure Function Core Tools 4.0.5312 1961 Thursday, August 31, 2023 Approved
Azure Function Core Tools 4.0.5274 1743 Monday, August 21, 2023 Approved
Azure Function Core Tools 4.0.5198 11785 Tuesday, May 23, 2023 Approved
Azure Function Core Tools 4.0.5174 482 Friday, May 19, 2023 Approved
Azure Function Core Tools 4.0.5148 2697 Monday, May 1, 2023 Approved
Azure Function Core Tools 4.0.5085 5627 Monday, March 20, 2023 Approved
Azure Function Core Tools 4.0.5030 2281 Thursday, February 23, 2023 Approved
Azure Function Core Tools 4.0.4915 6589 Monday, December 5, 2022 Approved
Azure Function Core Tools 4.0.4895 2148 Wednesday, November 16, 2022 Approved
Azure Function Core Tools 4.0.4865 1050 Monday, November 7, 2022 Approved
Azure Function Core Tools 4.0.4829 2984 Wednesday, October 12, 2022 Approved
Azure Function Core Tools 4.0.4785 1748 Monday, September 19, 2022 Approved
Azure Function Core Tools 4.0.4736 1957 Wednesday, August 17, 2022 Approved
Azure Function Core Tools 4.0.4704 470 Wednesday, August 10, 2022 Approved
Azure Function Core Tools 4.0.4653 1188 Monday, July 18, 2022 Approved
Azure Function Core Tools 4.0.4629 612 Wednesday, July 6, 2022 Approved
Azure Function Core Tools 4.0.4590 1261 Friday, June 10, 2022 Approved
Azure Function Core Tools 4.0.4544 1004 Monday, May 23, 2022 Approved
Azure Function Core Tools 4.0.4483 1822 Friday, April 15, 2022 Approved
Azure Function Core Tools 4.0.4426 547 Tuesday, April 5, 2022 Approved
Azure Function Core Tools 3.0.5682 11 Monday, April 29, 2024 Approved
Azure Function Core Tools 3.0.5542 13 Friday, March 22, 2024 Approved
Azure Function Core Tools 3.0.5373 23 Wednesday, September 27, 2023 Approved
Azure Function Core Tools 3.0.4899 56 Thursday, December 1, 2022 Approved
Azure Function Core Tools 3.0.4868 41 Wednesday, November 2, 2022 Approved
Azure Function Core Tools 3.0.4837 38 Friday, October 21, 2022 Approved
Azure Function Core Tools 3.0.4806 50 Friday, September 30, 2022 Approved
Azure Function Core Tools 3.0.4753 51 Wednesday, August 31, 2022 Exempted
Azure Function Core Tools 3.0.4727 48 Friday, August 12, 2022 Exempted
Azure Function Core Tools 3.0.4669 51 Tuesday, August 9, 2022 Exempted
Azure Function Core Tools 3.0.4626 46 Friday, July 22, 2022 Exempted
Azure Function Core Tools 3.0.4585 56 Thursday, June 2, 2022 Exempted
Azure Function Core Tools 3.0.4502 64 Monday, April 25, 2022 Exempted
Azure Function Core Tools 3.0.4484 61 Thursday, April 14, 2022 Exempted
Azure Function Core Tools 3.0.4425 57 Tuesday, April 5, 2022 Exempted
Azure Function Core Tools 3.0.3442 8176 Friday, April 9, 2021 Approved
Azure Function Core Tools 3.0.3331 1058 Tuesday, March 2, 2021 Approved
Azure Function Core Tools 3.0.3284 711 Thursday, February 11, 2021 Approved
Azure Function Core Tools 2.7.3023 1662 Friday, November 13, 2020 Approved
Azure Function Core Tools 2.7.2936 1150 Thursday, October 1, 2020 Approved
Azure Function Core Tools 2.7.2913 657 Tuesday, September 15, 2020 Approved
Azure Function Core Tools 2.7.2883 477 Thursday, September 3, 2020 Approved
Azure Function Core Tools 2.7.2855 263 Wednesday, September 2, 2020 Approved
Azure Function Core Tools 2.7.2796 768 Thursday, August 13, 2020 Approved
Azure Function Core Tools 2.7.2748 312 Tuesday, August 11, 2020 Approved
Azure Function Core Tools 2.7.2628 2009 Tuesday, June 23, 2020 Approved
Azure Function Core Tools 2.7.2508 2346 Wednesday, May 6, 2020 Approved
Azure Function Core Tools 2.7.2184 3658 Wednesday, February 12, 2020 Approved
Azure Function Core Tools 2.7.2100 647 Tuesday, February 4, 2020 Approved
Azure Function Core Tools 2.7.1948 2506 Tuesday, November 26, 2019 Approved
Azure Function Core Tools 2.7.1846 1492 Saturday, November 2, 2019 Approved
Azure Function Core Tools 2.7.1724 1375 Tuesday, October 15, 2019 Approved
Azure Function Core Tools 2.7.1704 384 Thursday, October 10, 2019 Approved
Azure Function Core Tools 2.7.1633 365 Monday, October 7, 2019 Approved
Azure Function Core Tools 2.7.1585 1617 Friday, September 6, 2019 Approved
Azure Function Core Tools 2.7.1575 1285 Saturday, August 17, 2019 Approved
Azure Function Core Tools 2.7.1558 279 Friday, August 16, 2019 Approved
Azure Function Core Tools 2.7.1505 828 Friday, August 2, 2019 Approved
Azure Function Core Tools 2.7.1480 707 Friday, July 19, 2019 Approved
Azure Function Core Tools 2.7.1468 258 Wednesday, July 17, 2019 Approved
Azure Function Core Tools 2.7.1373 1312 Thursday, June 13, 2019 Approved
Azure Function Core Tools 2.7.1158 976 Friday, May 10, 2019 Approved
Azure Function Core Tools 2.7.1149 422 Sunday, May 5, 2019 Approved
Azure Function Core Tools 2.6.1080 288 Tuesday, April 30, 2019 Approved
Azure Function Core Tools 2.6.1048 323 Thursday, April 25, 2019 Approved
Azure Function Core Tools 2.5.553 640 Friday, March 29, 2019 Approved
Azure Function Core Tools 2.4.498 253 Wednesday, March 27, 2019 Approved
Azure Function Core Tools 2.4.419 683 Thursday, February 28, 2019 Approved
Azure Function Core Tools 2.4.401 255 Monday, February 25, 2019 Approved
Azure Function Core Tools 2.4.317 620 Thursday, January 31, 2019 Approved
Azure Function Core Tools 2.4.299 253 Tuesday, January 29, 2019 Approved
Azure Function Core Tools 2.4.290 381 Wednesday, January 23, 2019 Approved
Azure Function Core Tools 2.3.199 738 Friday, December 21, 2018 Approved
Azure Function Core Tools 2.3.148 409 Tuesday, December 11, 2018 Approved
Azure Function Core Tools 2.2.70 531 Friday, November 16, 2018 Approved
Azure Function Core Tools 2.2.32 345 Friday, November 9, 2018 Approved
Azure Function Core Tools 2.1.748 459 Tuesday, October 23, 2018 Approved
Azure Function Core Tools 2.1.725 287 Thursday, October 18, 2018 Approved
Azure Function Core Tools 2.0.3 606 Thursday, September 20, 2018 Approved
Azure Function Core Tools 2.0.2 256 Wednesday, September 19, 2018 Approved
Azure Function Core Tools 2.0.1-beta39 259 Monday, September 17, 2018 Approved
Azure Function Core Tools 2.0.1-beta38 333 Thursday, September 6, 2018 Approved
Azure Function Core Tools 2.0.1-beta37 262 Wednesday, September 5, 2018 Approved
Azure Function Core Tools 2.0.1-beta35 384 Thursday, August 16, 2018 Approved
Azure Function Core Tools 2.0.1-beta34 355 Monday, August 6, 2018 Approved
Azure Function Core Tools 2.0.1-beta33 317 Monday, July 23, 2018 Approved
Azure Function Core Tools 2.0.1-beta32 251 Friday, July 20, 2018 Approved
Azure Function Core Tools 2.0.1-beta31 352 Wednesday, June 27, 2018 Approved
Azure Function Core Tools 2.0.1-beta29 273 Friday, June 22, 2018 Approved
Azure Function Core Tools 2.0.1-beta26 446 Tuesday, May 22, 2018 Approved
Azure Function Core Tools 2.0.1-beta25 464 Wednesday, April 4, 2018 Exempted
Azure Function Core Tools 2.0.1-beta24 287 Wednesday, March 28, 2018 Exempted
Azure Function Core Tools 1.0.15 907 Thursday, August 30, 2018 Approved
Azure Function Core Tools 1.0.12 663 Tuesday, May 1, 2018 Approved
Azure Function Core Tools 1.0.11 276 Thursday, April 26, 2018 Approved
Azure Function Core Tools 1.0.9 375 Saturday, March 31, 2018 Approved

This package has no dependencies.

Discussion for the Azure Function Core Tools Package

Ground Rules:

  • This discussion is only about Azure Function Core Tools and the Azure Function Core Tools 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 Azure Function Core Tools, 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