10.3. Installing the OpenShift Serverless Logic Knative Workflow plugin for Windows
If you are using Windows, you can install the Knative Workflow plugin as a binary file.
Prerequisites
-
You have installed the Knative (
kn) command-line interface (CLI). For more information, see the Installing the Knative CLI documentation.
Procedure
-
Download the latest
ziparchive suitable for your environment, from the Serverless Logic download mirror page. Extract the Knative Workflow plugin binary file using PowerShell by running the following command:
$ Expand-Archive -Path <filename>.zip -DestinationPath <destination>Rename the extracted Knative Workflow plugin binary file to
kn-workflowby running the following command:$ Rename-Item -Path <destination>\<filename>.exe -NewName kn-workflow.exeInstall the
kn-workflowcommand as the Knative CLI plugin:On Windows, files with a
.exeextension are treated as executable by default, so you do not need to change permissions.Copy the
kn-workflowbinary file to a directory in yourPATHby running the following command:$ Copy-Item -Path <destination>\kn-workflow.exe -Destination "C:\Program Files\kn-workflow.exe"
Verification
Run the following command to verify that the
kn-workflowplugin is installed successfully:$ kn plugin list