Last active
May 30, 2024 14:31
-
-
Save paulyuk/85d59f0cd0d16036a147121c8c69b17e to your computer and use it in GitHub Desktop.
Installing x64 Azure Functions CLI (Core Tools) on Mac M1 ARM64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# First uninstall any existing Core Tools | |
brew uninstall azure-functions-core-tools@4 | |
# Install x64 Intel Brew tools in an alternate path | |
# Follow: https://medium.com/mkdir-awesome/how-to-install-x86-64-homebrew-packages-on-apple-m1-macbook-54ba295230f | |
# Copy next SIX lines into bottom of your ~/.zshrc file and then restart Terminal | |
# need this for x86_64 brew | |
export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# for intel x86_64 brew | |
alias axbrew='arch -x86_64 /usr/local/homebrew/bin/brew' | |
# Azure Functions Core Tools x64 (until brew ARM64 is ready) | |
export PATH=/usr/local/homebrew/Cellar/azure-functions-core-tools@4/4.0.4915:$PATH | |
# Install Azure Functions core tools (intel arch) | |
axbrew install azure-functions-core-tools@4 | |
# Test Functions CLI | |
func version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment