Get Started

It’s a snap to be up and running with Quarkus.

Step 1

Install via Command Line Interface

Open your favorite CLI and paste this script to spin-up Quarkus.

For Linux, macOS, and Windows (using WSL or bash compatible shell like cygwin or mingw)


curl -Ls https://sh.jbang.dev | bash -s - app install --fresh --force quarkus@quarkusio
                 

For Windows using Powershell


iex "& { $(iwr https://ps.jbang.dev) } app install --fresh --force quarkus@quarkusio"
                 

If it's your first time to install, you'll need ot restart your shell.

Step 2

Create the Getting Started Application

Run this script in your CLI:


quarkus create && cd code-with-quarkus
                 

Step 3

Run the Getting Started Application

Run this script in your CLI:


quarkus dev
                 

Boom! Your Quarkus app is now running at localhost:8080

Step 4

Live Coding with Quarkus

Quarkus makes it easy to change your code on the fly. Let's modify the RESTful endpoint


Open src/main/java/GreetingsResource.java in a text editor or your favorite IDE and change "hello RESTEasy" to "hola RESTEasy". Then refresh the browser and see the changes.


@Path("/hello")
public class GreetingResource {

    @GET
    @Produces(MediaType.TEXT_PLAIN)
    public String hello() {
        return "Hello RESTEasy";
    }
}
                 

Cool stuff right? Learn more about Quarkus's dev mode.

Next Steps

Building Native Executables

Build native executables with GraalVM or Mandrel.

Continuous Testing

Learn how to use continuous testing in your Quarkus Application.

Start with Serverless

Create a portable Java API to write serverless functions deployable to AWS Lambda, Azure Functions, Knative, and more.

Quarkus Tools in Your Favorite IDE

Every developer has their favorite IDE. Learn how to use Quarkus in yours.

Writing Simple REST CRUD Services

Hibernate ORM REST Data with Panache simplifies the creation of CRUD applications based on JAX-RS and Hibernate ORM.

Getting Started with Reactive

Learn more about developing reactive applications with Quarkus.

Deploying Quarkus Applications on Kubernetes

This guide covers how to deploy a native application on Kubernetes.

Want to learn more? Check out the guides to continue your journey.