Introduction

Most of the Helidon documentation is Linux/Mac/Unix centric. This document gives some tips for Windows users.

Prerequisites

Windows 10 is required.

For general pre-requisites like Java and Maven see Getting Started. If you want to use the Helidon CLI you’ll also need to install the Visual C++ Redistributable Runtime:

We also recommend installing the following from the Microsoft Store:

  • PowerShell

  • Windows Terminal

This document assumes you will be using PowerShell.

Maven Quickstart Archetypes

Helidon SE

mvn "-U" "archetype:generate" "-DinteractiveMode=false" `
    "-DarchetypeGroupId=io.helidon.archetypes" `
    "-DarchetypeArtifactId=helidon-quickstart-se" `
    "-DarchetypeVersion=4.3.0-SNAPSHOT" `
    "-DgroupId=io.helidon.examples" `
    "-DartifactId=helidon-quickstart-se" `
    "-Dpackage=io.helidon.examples.quickstart.se"

You can then follow the instructions in the Helidon SE Quickstart. If you do not have curl installed you can use Invoke-WebRequest:

Invoke-WebRequest -Uri "http://localhost:8080/greet"

Helidon MP

mvn "-U" "archetype:generate" "-DinteractiveMode=false" `
    "-DarchetypeGroupId=io.helidon.archetypes" `
    "-DarchetypeArtifactId=helidon-quickstart-mp" `
    "-DarchetypeVersion=4.3.0-SNAPSHOT" `
    "-DgroupId=io.helidon.examples" `
    "-DartifactId=helidon-quickstart-mp" `
    "-Dpackage=io.helidon.examples.quickstart.mp"

You can then follow the instructions in the Helidon MP Quickstart. If you do not have curl installed you can use Invoke-WebRequest:

Invoke-WebRequest -Uri "http://localhost:8080/greet"