| author | ggailey777 |
|---|---|
| ms.service | azure-functions |
| ms.topic | include |
| ms.date | 11/14/2023 |
| ms.author | glenga |
The recommended way to install Core Tools depends on the operating system of your local development computer.
The following steps use a Windows installer (MSI) to install Core Tools v4.x. For more information about other package-based installers, see the Core Tools readme.
Download and run the Core Tools installer, based on your version of Windows:
- v4.x - Windows 64-bit (Recommended. Visual Studio Code debugging requires 64-bit.)
- v4.x - Windows 32-bit
If you previously used Windows installer (MSI) to install Core Tools on Windows, you should uninstall the old version from Add Remove Programs before installing the latest version.
Tip
To install Core Tools on Windows Subsystem for Linux (WSL), follow the instructions on the Linux tab.
The following steps use Homebrew to install the Core Tools on macOS.
-
Install Homebrew, if it's not already installed.
-
Install the Core Tools package:
brew tap azure/functions brew install azure-functions-core-tools@4 # if upgrading on a machine that has 2.x or 3.x installed: brew link --overwrite azure-functions-core-tools@4
The following steps use APT to install Core Tools on your Ubuntu/Debian Linux distribution. For other Linux distributions, see the Core Tools readme.
-
Install the Microsoft package repository GPG key, to validate package integrity:
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
-
Set up the APT source list before doing an APT update.
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-$(lsb_release -cs 2>/dev/null)-prod $(lsb_release -cs 2>/dev/null) main" > /etc/apt/sources.list.d/dotnetdev.list'sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/debian/$(lsb_release -rs 2>/dev/null | cut -d'.' -f 1)/prod $(lsb_release -cs 2>/dev/null) main" > /etc/apt/sources.list.d/dotnetdev.list'
-
Check the
/etc/apt/sources.list.d/dotnetdev.listfile for one of the appropriate Linux version strings in the following table:Linux distribution Version Debian 12 bookwormDebian 11 bullseyeDebian 10 busterDebian 9 stretchUbuntu 24.04 nobleUbuntu 22.04 jammyUbuntu 20.04 focalUbuntu 19.04 discoUbuntu 18.10 cosmicUbuntu 18.04 bionicUbuntu 17.04 zestyUbuntu 16.04/Linux Mint 18 xenial -
Start the APT source update:
sudo apt-get update
-
Install the Core Tools package:
sudo apt-get install azure-functions-core-tools-4