Skip to content

Latest commit

 

History

History
66 lines (47 loc) · 1.26 KB

HELIDON-CLI.md

File metadata and controls

66 lines (47 loc) · 1.26 KB

Helidon CLI

The Helidon CLI lets you easily create a Helidon project by picking from a set of archetypes.

It also supports a developer loop that performs continuous compilation and application restart, so you can easily iterate over source code changes.

Prerequisites

Helidon requires Java 21 (or newer) and Maven 3.6.1 or newer.

You should make sure java and mvn are in your path.

java -version
mvn --version

Install

MacOS:

curl -O https://helidon.io/cli/latest/darwin/helidon
chmod +x ./helidon
sudo mv ./helidon /usr/local/bin/

Linux:

curl -O https://helidon.io/cli/latest/linux/helidon
chmod +x ./helidon
sudo mv ./helidon /usr/local/bin/

Windows:

PowerShell -Command Invoke-WebRequest -Uri "https://helidon.io/cli/latest/windows/helidon.exe" -OutFile "C:\Windows\system32\helidon.exe"

Create a New Project

helidon init

Then answer the questions.

Developer Loop

cd myproject
helidon dev

As you make source code changes the project will automatically recompile and restart your application.

Demo