> ## Documentation Index
> Fetch the complete documentation index at: https://aletyx.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Environment Setup in Aletyx Enterprise Build of Kogito and Drools 10.1.0-aletyx

> Set up your development environment for Aletyx Enterprise Build of Kogito and Drools, covering installation and configuration of all required tools and dependencies.

This guide will help you set up your development environment for Aletyx Enterprise Build of Kogito and Drools. We'll cover installation and configuration of all required tools and dependencies.

## Prerequisites Overview

The following tools are required for development:

* Java 17 (Eclipse Temurin/AdoptOpenJDK, or other community distribution)
* Maven 3.9.6 or higher
* Git
* Container runtime (Docker or Podman)
* Kubernetes tools (Kubectl)
* Red Hat OpenShift® CLI (oc)
* Visual Studio Code® with extensions

## Package Manager Setup

If possible, to simplify the configurations, we recommend the usage of Package Managers like Homebrew, Chocolatey®, or APT to get the required elements for your environment. This is not required, but greatly simplifies the process.

> [tab] Package Manager
>
> > [tab] Microsoft Windows (Chocolatey)
> >
> > 1. Open PowerShell® as Administrator (Right-click, "Run as Administrator")
> >
> > 2. Install Chocolatey:
> >
> >    ```powershell theme={null}
> >    Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
> >    ```
> >
> > 3. Verify installation:
> >
> >    ```powershell theme={null}
> >    choco --version
> >    ```
>
> > [tab] MacOS (Homebrew)
> >
> > 1. Install Homebrew:
> >
> >    ```sh theme={null}
> >    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
> >    ```
> >
> > 2. Add Homebrew to your PATH:
> >
> >    1. For Apple® Silicon Mac®
> >
> >       ```sh theme={null}
> >       echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zshrc
> >       ```
> >
> >    2. For Intel® Macs
> >
> >       ```sh theme={null}
> >       echo 'eval "$(/usr/local/bin/brew shellenv)"' >> ~/.zshrc
> >       ```
> >
> > 3. Reload your shell configuration:
> >
> >    ```sh theme={null}
> >    source ~/.zshrc
> >    ```
>
> > [tab] Linux (apt)
> >
> > Linux generally comes with its package manager, but ensure it's up to date:
> >
> > ```sh theme={null}
> > sudo apt update && sudo apt upgrade
> > ```

## Initial Java Setup with Apache Maven

You need a JDK 17 and for the distribution, we recommend using Eclipse Temurin (formerly AdoptOpenJDK)for development:

> [tab] Java
>
> > [tab] Homebrew
> >
> > ```sh theme={null}
> > # Install Homebrew if not already installed
> > /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
> >
> > # Install Java
> > brew install --cask temurin17
> >
> > # Install Maven
> > brew install maven
> > ```
>
> > [tab] Linux
> >
> > ```sh theme={null}
> > # Install Java
> > sudo apt-get update
> > sudo apt-get install -y temurin-17-jdk
> >
> > # Install Maven
> > sudo apt-get install maven
> > ```
>
> > [tab] Windows
> >
> > ```powershell theme={null}
> > # Using Chocolatey
> > choco install temurin17
> > choco install maven
> > ```

> [tab] Using SDKMAN!™
>
> > [tab] macOS
> >
> > ```sh theme={null}
> > # Install SDKMAN!
> > curl -s "https://get.sdkman.io" | bash
> > source "$HOME/.sdkman/bin/sdkman-init.sh"
> >
> > # Install Java and Maven
> > sdk install java 17.0.10-tem
> > sdk install maven 3.9.7
> > ```
>
> > [tab] Linux
> >
> > ```sh theme={null}
> > # Install SDKMAN!
> > curl -s "https://get.sdkman.io" | bash
> > source "$HOME/.sdkman/bin/sdkman-init.sh"
> >
> > # Install Java and Maven
> > sdk install java 17.0.10-tem
> > sdk install maven 3.9.7
> > ```

## Container Runtime

> [tab] Docker
>
> > [tab] macOS
> >
> > ```sh theme={null}
> > brew install --cask docker
> > ```
>
> > [tab] Linux
> >
> > ```sh theme={null}
> > curl -fsSL https://get.docker.com -o get-docker.sh
> > sudo sh get-docker.sh
> > ```
>
> > [tab] Windows
> >
> > Download and install [Docker Desktop®](https://www.docker.com/products/docker-desktop)

> [tab] Podman
>
> > [tab] macOS
> >
> > ```sh theme={null}
> > brew install podman
> > podman machine init
> > podman machine start
> > ```
>
> > [tab] Linux
> >
> > ```sh theme={null}
> > sudo apt-get update
> > sudo apt-get install -y podman
> > ```
>
> > [tab] Windows
> >
> > Download and install [Podman Desktop™](https://podman-desktop.io/downloads)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.