Skip to content

Instantly share code, notes, and snippets.

@paulyuk
Last active May 19, 2023 20:58
Show Gist options
  • Save paulyuk/ed4ed9165ac33f0eeb41044d9a283de6 to your computer and use it in GitHub Desktop.
Save paulyuk/ed4ed9165ac33f0eeb41044d9a283de6 to your computer and use it in GitHub Desktop.
Install unsigned functions core tools CLI
  1. unzip the tools that match your OS and Arch, and copy to your usr folder ~/funccli/Azure.Functions.Cli.osx-x64.4.0.5194

  2. make the func cli executable

cd ~/funccli/Azure.Functions.Cli.osx-x64.4.0.5194
chmod +x func
  1. run func cli in this folder
./func version
  1. handle the security warning by *TEMPORARILY disabling gatekeeper
sudo spctl --global-disable
  1. alias the latest func cli as funcl command that will work in any folder
alias funcl=~/funccli/Azure.Functions.Cli.osx-x64.4.0.5194/func
  1. Try it from any folder
funcl version
  1. revert back to gatekeeper enabled
sudo spct --global-enable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment