CLI

We maintain an official CLI application that is powered by the kotlin bindings. The CLI application is available for most Windows, macOS, and Linux architectures.

Installation

GitHub Archives

This requires a GitHub Account.

GitHub Actions stores archives on a commit-by-commit basis based on each build. You can navigate to a run and download an archive of the executables.

  1. Navigate to the GitHub Action Page for the CLI.

  2. Click on the name of the build you wish to download.

  1. Scroll down and click on the artifact that matches your Operating System.

  1. The downloaded artifact is a .zip file that contains the executable binaries on that operating system for all supported CPU architectures. Extract the file and navigate to your folder.

  2. Executable files are located in {build type} -> releaseExecutable -> levelz.{extension}

For example, Windows is located in mingwX64 -> releaseExecutable -> levelz.exe

A .kexe file is an executable file. This is the default output extension on Unix-based systems, which include Linux and macOS.

From Source

You can clone the GitHub repository and assemble the binaries yourself.

# Clone Repository
git clone https://github.com/LevelZ-File/cli
cd cli

# Build Binaries, alternatively by OS

## Build All Support Binaries
./gradlew assemble

## Build Binaries for Windows
./gradlew mingwX64Binaries

## Build Binaries for macOS Intel (only on Mac)
./gradlew macosX64Binaries

## Build Binaries for macOS Apple Silicon (only on Mac)
./gradlew macosArm64Binaries

## Build Binaries for Linux X64
./gradlew linuxX64Binaries

## Build Binaries for Linux Arm64
./gradlew macosArm64Binaries

Last updated