Skip to content

03 ‐ How To Install

Michael Dick edited this page Aug 15, 2023 · 1 revision

How To Use db-tool

Requirements

  • Java version >= 17
  • A terminal where you can run the CLI
  • A compatible database (you cannot use grep and list-tables without one)

Installation

  1. Download the latest release from here
  2. Run java -jar <current-release-filename>.jar --help to begin
  3. Choose from the available commands to manage your database :)

Build from source

  1. Clone the repository
  2. Navigate into the folder and execute ./gradlew build on macos/linux and gradlew.bat build on windows
  3. The executable will be build into the build/libs folder. Important: Only the file with -all at the end is executable right in the console
  4. Execute with java -jar <current-release-filename>.jar --help
Clone this wiki locally