Skip to content

Creating a function

After you have installed Knative Functions, you can create a function project by using the func CLI or the kn func plugin:

func create -l <language> <function-name>


func create -l go hello
kn func create -l <language> <function-name>


kn func create -l go hello

Expected output

Created go function in hello

For more information about options for function create commands, see the func create documentation.

We use analytics and cookies to understand site traffic. Information about your use of our site is shared with Google for that purpose. Learn more.

× OK