[Go to site: main page, start]

Getting Started

Getting Started

Prerequisites

Latte requires Java 25. If you don’t have it, the easiest way to install it is with javaenv:

curl -fsSL https://lattejava.org/javaenv/install | bash
javaenv install 25

Install

Getting started with Latte is simple. You can run the install command for *nix systems or WSL2 systems:

curl -fsSL lattejava.org/cli/install | bash

Manual installation

If you prefer not to use the install script, you can install Latte manually by following these steps:

Step 1

Download the latest version of Latte

Step 2

Unpack the TAR GZ file to a good location (you might need to change the version numbers below):

$ mkdir -p ~/dev/latte
$ cd ~/dev/latte
$ tar -xzvf latte-0.3.2.tar.gz

Step 3

Add the bin directory to your PATH:

$ export PATH=$PATH:~/dev/latte/bin

Step 4

Test it out:

$ latte --version

For the full list of global flags, see CLI Flags. For the built-in commands (init, install, login, logout, upgrade), see CLI Commands.