LinuxCommandLibrary

jhipster

Generate modern web applications and microservices

TLDR

Generate a simple full-stack project (monolithic or microservices)

$ jhipster
copy

Generate a simple frontend project
$ jhipster --skip-server
copy

Generate a simple backend project
$ jhipster --skip-client
copy

Apply latest JHipster updates to the project
$ jhipster upgrade
copy

Add a new entity to a generated project
$ jhipster entity [entity_name]
copy

Import a JDL file to configure your application (see: )
$ jhipster import-jdl [file1.jh file2.jh ...]
copy

Generate a CI/CD pipeline for your application
$ jhipster ci-cd
copy

Generate a Kubernetes configuration for your application
$ jhipster kubernetes
copy

SYNOPSIS

jhipster [options] [<generator>]

PARAMETERS

--help
    Show help [boolean]

--version
    Show version number [boolean]

--skip-checks
    Skip all pre-checks (Node.js, Java, Git, etc.) [boolean]

--skip-install
    Skip npm/yarn install after generation [boolean]

--skip-cache
    Skip Yeoman template cache [boolean]

--force
    Force overwrite of files [boolean]

--incremental
    Enable incremental generation with .yo-rc.json backup [boolean]

--dry-run
    Run in dry-run mode without changes [boolean]

--blueprint <name>
    Specify a blueprint generator [string]

--insight
    Enable anonymous usage insights [boolean]

DESCRIPTION

JHipster is an open-source development platform that rapidly generates modern web applications and microservices using Spring Boot for the backend and Angular, React, or Vue.js for the frontend. The jhipster command is its primary CLI tool, built on Yeoman, enabling developers to scaffold full-stack projects in minutes. It supports monoliths, microservices, gateways, and admin apps, with features like entity generation, JDL (JHipster Domain Language) imports for database modeling, internationalization, authentication (OAuth2, JWT, OIDC), and deployment to cloud platforms.

Usage starts with jhipster app to create a new application, followed by jhipster entity for CRUD operations or jhipster import-jdl for complex models. It automates best practices like caching (Ehcache, Caffeine, Hazelcast, Redis), search engines (Elasticsearch), and messaging (Apache Kafka). JHipster ensures production-ready code with testing (JUnit, Gatling), build tools (Maven/Gradle), and Docker/Kubernetes support.

Ideal for Java developers, it reduces boilerplate, enforces consistency, and scales from prototypes to enterprise systems. Over 200 generators exist for extensions like CI/CD, security, and mobile.

CAVEATS

Requires Node.js (≥18), Java JDK (≥17), Git. Global install via npm i -g generator-jhipster. Large projects may need significant RAM. Not a native Linux binary; npm dependency.

COMMON GENERATORS

app: New application.
entity: JPA entity with CRUD.
import-jdl: JDL model import.
docker-compose: Docker setup.
ci-cd: GitHub/Jenkins pipelines.

PREREQUISITES CHECK

Run jhipster info for environment diagnostics.

HISTORY

Created in 2013 by Julien Dubois as a Yeoman generator for Spring Boot + Angular apps. Evolved through community contributions; v1 (2013), v2 Angular 2 support (2016), v7 micro-frontends (2021), v8+ modern stacks (2023+). Over 20k GitHub stars, used by enterprises like Thoughtworks.

SEE ALSO

yo(1), npm(1), java(1), mvn(1)

Copied to clipboard