Chapter 2. Installing Kaoto
2.1. Pre-requisites Copy linkLink copied to clipboard!
2.1.1. Microsoft Visual Studio Code Copy linkLink copied to clipboard!
Kaoto ships as a Microsoft Visual Studio Code extension. If you haven’t installed VS Code on your manchine yet, do that now.
Visit the download page and follow the installation instructions that apply best for you.
2.1.2. Camel CLI Copy linkLink copied to clipboard!
To give you the best user experience we recommend to install the Camel CLI, which offers various functionalities for Camel developers.
Follow the below steps to install it.
- Install JBang following these instructions.
Verify that JBang is working by executing the following from a command shell. This should output the version of installed JBang.
jbang version
jbang version
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Run the following command from a command shell to install the Camel CLI:
jbang app install camel@apache/camel
jbang app install camel@apache/camel
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Check if the Camel CLI is working by executing the following from a command shell. This should output the version of the installed Camel CLI.
camel version
camel version
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
2.1.3. Citrus Testing Copy linkLink copied to clipboard!
If you want to work with the Citrus testing framework, we strongly recommend to install the Citrus JBang plugin.
Follow the below steps to install it.
- Install JBang following these instructions.
Verify that JBang is working by executing the following from a command shell. This should output the version of installed JBang.
jbang version
jbang version
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Run the following command from a command shell to install the Citrus JBang plugin:
jbang app install citrus@citrusframework/citrus
jbang app install citrus@citrusframework/citrus
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Check if the Citrus JBang plugin is working by executing the following from a command shell. This should output the version of the installed Citrus JBang plugin.
citrus --version
citrus --version
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
2.2. Installation Copy linkLink copied to clipboard!
It is recommended to install the Extension Pack for Apache Camel by Red Hat. It will provide a set of tools to manage, edit, run, and debug Camel integrations in various contexts.
The following procedure explains how to install VS Code and other essential extensions required to get started with Kaoto.
- If you do not have Visual Studio Code installed, install it from here.
- Launch VS Code.
- Install the Extension Pack for Apache Camel by Red Hat into your Visual Studio Code instance.
To run and debug Camel integrations using VS Code UI, install JBang CLI. Optionally, to run Camel integrations from the command line, install Camel CLI.
Create and select a workspace folder where all the integration will be stored. Selecting a workspace is important to ensure all required commands will be available and behave correctly.