-
unzip the tools that match your OS and Arch, and copy to your usr folder
~/funccli/Azure.Functions.Cli.osx-x64.4.0.5194
-
make the func cli executable
cd ~/funccli/Azure.Functions.Cli.osx-x64.4.0.5194
chmod +x func
- run func cli in this folder
./func version
- handle the security warning by *TEMPORARILY disabling gatekeeper
sudo spctl --global-disable
- 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
- Try it from any folder
funcl version
- revert back to gatekeeper enabled
sudo spct --global-enable