Este conteúdo não está disponível no idioma selecionado.

Chapter 2. Installing Kaoto


2.1. Pre-requisites

2.1.1. Microsoft Visual Studio Code

Kaoto ships as a Microsoft Visual Studio Code extension. If you haven’t installed VS Code on your manchine yet, please do that now.

Visit the download page and follow the installation instructions that apply best for you.

2.1.2. Camel CLI

To give you the best user experience we recommend to install the Camel CLI, which offers various functionalities for Camel developers.

Please follow the below steps to install it.

  1. Install JBang following these instructions.
  2. Verify that JBang is working by executing the following from a command shell. This should output the version of installed JBang.

    jbang version
  3. Run the following command from a command shell to install the Camel CLI:

    jbang app install camel@apache/camel
  4. 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

2.1.3. Citrus Testing

If you want to work with the Citrus testing framework, we strongly recommend to install the Citrus JBang plugin.

Please follow the below steps to install it.

  1. Install JBang following these instructions.
  2. Verify that JBang is working by executing the following from a command shell. This should output the version of installed JBang.

    jbang version
  3. Run the following command from a command shell to install the Citrus JBang plugin:

    jbang app install citrus@citrusframework/citrus
  4. 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

2.2. Installation

Important

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.

  1. If you do not have Visual Studio Code installed, install it from here.
  2. Launch VS Code.
  3. Install the Extension Pack for Apache Camel by Red Hat into your Visual Studio Code instance.
  4. 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.

    extpack install
Important

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.

Red Hat logoGithubRedditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja oBlog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

© 2024 Red Hat, Inc.