Magnolia CLI

Magnolia CLI is an npm package providing a Command Line Interface (CLI) tool to set up and facilitate light development in Magnolia CMS.

Package name

@magnolia/cli

Repository link

Latest version

Magnolia CLI latest version tag

Changelog link

Installing

For installation information, see Installing CLI.

Using

You can use Magnolia CLI and its plugins to:

  • Download a project with a Magnolia webapp.

  • Quickly create a light module skeleton, with the folders and files that form a Magnolia light module.

  • Generate light module items.

  • Start a Magnolia webapp.

Versions

Supported

Magnolia CLI v5, a plugin-based CLI designed for developers seeking modularity and the ability to extend functionalities through custom CLI commands.

End-of-life

Magnolia CLI v4, a command-based CLI, reached end-of-life (EOL) on April 16, 2025. It’s no longer maintained and will not receive any updates, including security fixes. For continued support, improvements, and compatibility with current Magnolia versions, use CLI version 5.

Version 4 includes the legacy Magnolia 5 UI prototypes, which are marked with the -m5 suffix.

CLI versions 2 and 3, while still available for installation through NPM, are no longer supported.
Feedback

DX Core

×

Location

This widget lets you know where you are on the docs site.

You are currently perusing through the Magnolia CLI docs.

Main doc sections

DX Core Headless PaaS Legacy Cloud Incubator modules