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.
Helidon requires Java 11 (or newer) and Maven 3.6.1 or newer.
You should make sure java
and mvn
are in your path.
java -version
mvn --version
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"
helidon init
Then answer the questions.
cd myproject
helidon dev
As you make source code changes the project will automatically recompile and restart your application.