Skip to main content

Starlake

Installation Methods

Prerequisites

  • Java 17+ installed
    # Verify Java version
    java -version
  • If needed, install Java from Oracle JDK or OpenJDK

Installation

One-line installation script:

bash <(curl https://raw.githubusercontent.com/starlake-ai/starlake/master/distrib/setup.sh)

The script will create the following directory structure:

starlake/
├── bin/
│ ├── deps/ # Extra dependencies (e.g., Oracle client)
│ ├── sl # Starlake CLI
│ └── spark # Embedded Spark runtime

Development Tools

VS Code Extension

Prerequisites

  • Visual Studio Code installed

Installation

Enhance your development experience with our official VS Code extension:

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X)
  3. Search for "Starlake"
  4. Install "Starlake Data Pipeline Tools"

Features:

  • Syntax highlighting for Starlake configurations
  • Schema validation
  • SQL transformation snippets
  • Pipeline visualization

Verify Installation

Test your installation:

starlake --version

You should see output like:

Starlake Version 1.3.4

Next Steps

You may start the GUI with:

starlake serve

and point your browser to http://localhost:9000.

To start on a different port set the SL_API_HTTP_PORT environment variable:

SL_API_HTTP_PORT=11000 starlake serve

To access the GUI from a remote machine, set the SL_API_DOMAIN environment variable to your server's domain or IP address:

SL_API_DOMAIN=your.domain.com starlake serve

The exhaustive list of configuration options can be found in the api-env-vars.md file. or continue with the CLI by following the tutorials below:

Troubleshooting

Common installation issues and solutions:

  1. Java Version Mismatch

    # Check Java version
    java -version

    # Install correct version if needed
  2. Permission Issues

    # Fix permissions on Linux/MacOS
    chmod +x bin/starlake
  3. Docker Issues

    # Verify Docker installation
    docker --version

    # Test Docker permissions
    docker run hello-world
Extra Dependencies

Any additional libraries (e.g., Oracle client) should be copied to the bin/deps folder.