Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.13 KB

installing_cli.md

File metadata and controls

32 lines (22 loc) · 1.13 KB

Installing the CLI

The CLI is used to create, build, manage and deploy Functions. There are a few different ways you can install the binary.

From Homebrew

brew tap knative-sandbox/kn-plugins
brew install kn
brew install func

Installed in this way, Knative Functions are managed as a plugin of the Knative CLI, via kn func. You may also invoke the Functions client directly from the Homebrew path, often /opt/homebrew/bin, as kn-func.

Prebuilt Binary

Download the latest binary appropriate for your system from the Latest Release.

Each version is built and made available as a prebuilt binary. See All Releases.

From Source

To build and install from source check out the repository, run make, and install the resultant binary:

git clone [email protected]:knative-sandbox/kn-plugin-func.git
cd kn-plugin-func
make
sudo mv func /usr/local/bin/

Integration with kn

See plugins section of kn.