Read this on the main serverless docs site¶
Knative - Install¶
Installs a service from a GitHub URL in the current working directory.
Options¶
--urlor-uThe services Git URL. Required.--nameor-nName for the service.
Examples¶
Installing a service from a GitHub URL¶
This example will download the .zip file of the serverless-knative-example service from GitHub, create a new directory with the name serverless-knative-example in the current working directory and unzips the files in this directory.
Installing a service from a GitHub URL with a new service name¶
This example will download the .zip file of the serverless-knative-example service from GitHub, create a new directory with the name my-service in the current working directory and unzips the files in this directory and renames the service to my-service if serverless.yml exists in the service root.