In this section we are going to make our local system ready to install and develop the demo projects.


If Node.js, NPM, and Java v8 (JRE SE) (On Windows, the JDK is required) are already installed on your computer, you can jump directly to the installing Magnolia CLI.

Setup Java

There is no Java Programming required to develop applications with Magnolia.

However, Magnolia itself does require a Java Environment (JRE). Type java -version in a terminal or command prompt. If the system reports a version number, Java is installed on your computer.

$ java -version
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)

Magnolia releases run on the active Java version at the time of the first release.

Java 17 (LTS)* Java 11 (LTS) Java 8 (LTS)

Magnolia 6.2

*Supported by Magnolia 6.2.9+.

If you don’t have Java, or it is not a compatible version, install it on your system.

  • Mac

  • Windows

  • Linux

The easiest way to install Java on your Mac is using Homebrew.

  1. First update homebrew

brew update
  1. Then install java.

brew install homebrew/cask/java
  1. Type java -version to verify your installation.

Alternatively you can Download^ the latest Java from Oracle Website.

Follow the instructions on the Installing Magnolia to install Java on Windows.

You can follow the directions at

Type java -version to verify your installation.

Setup Node.js and npm

Type node -v and npm -v in a terminal or command prompt. If the system reports a version number, Node.js and npm are installed on your computer.

$ node -v
$ npm -v
If Node.js and/or npm is not installed you can follow these instructions.

Install Magnolia CLI