Skip to content

Installation

Alumnium for Java requires JDK 21+ and is distributed via Maven Central.

To install, add the library to your Gradle build along with a CLI artifact that matches your host platform.

build.gradle
dependencies {
testImplementation 'ai.alumnium:alumnium:0.21.0'
testRuntimeOnly 'ai.alumnium:alumnium-cli-darwin-arm64:0.21.0'
}

Or, if you’re using maven, add this to your pom.xml

pom.xml
<dependencies>
<dependency>
<groupId>ai.alumnium</groupId>
<artifactId>alumnium</artifactId>
<version>0.21.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ai.alumnium</groupId>
<artifactId>alumnium-cli-darwin-arm64</artifactId>
<version>0.21.0</version>
<scope>test</scope>
</dependency>
</dependencies>

Replace alumnium-cli-darwin-arm64 with the artifact matching your platform, or add multiple artifacts if you need to support multiple platforms. The available CLI artifacts are:

OSArchitectureArtifact
macOSarm64alumnium-cli-darwin-arm64
macOSx64alumnium-cli-darwin-x64
Linuxarm64alumnium-cli-linux-arm64
Linuxx64alumnium-cli-linux-x64
Windowsarm64alumnium-cli-windows-arm64
Windowsx64alumnium-cli-windows-x64

Alumnium requires Python 3+ and is distributed as a PyPI package.

To install, run the following command:

Installing dependencies…
pip install alumnium

Alumnium for TypeScript requires Node.js 18+ and is distributed as an NPM package.

To install, run one of the following commands:

Installing dependencies…
npm install alumnium

That’s it! Keep reading to learn how to configure Alumnium to use an AI provider.