The OpenFaaS command-line client is available for our three operating systems. Let's work through installing it on each, starting with macOS High Sierra.
As you may have already guessed, we are going to be using Homebrew for this. To install the client, simply run the following command:
$ brew install faas-cli
For Ubuntu 17.04, the CLI can be installed using the OpenFaaS CLI installation script, which you can run directly from GitHub by running the following command:
$ curl -sL cli.openfaas.com | sudo sh
This script will also update the installed version of faas-cli if you are running an older version.
To install the CLI on Windows 10 Professional, first of all open a PowerShell window as the admin user; you ...