Skip to content

Newlogic CLI

Newlogic CLI provides a compact command set for scaffolding projects, preparing CMS code, managing installable blocks, and installing the bundled agent skill.

For full usage and all available options, run newlogic in your terminal.

Get Started

Install or update the CLI globally with npm:

bash
npm i @newlogic-digital/cli -g

Basic commands

init

Creates a new project in the current directory or in a new target directory.

bash
newlogic init
newlogic init ui my-app -y
newlogic init cms my-project -y

cms

Runs inside a CMS project and prepares templates or creates a new component scaffold.

bash
newlogic cms prepare
newlogic cms prepare views
newlogic cms new-component Hero

blocks

Lists, installs, removes, or reinstalls reusable blocks tracked in newlogic.config.json.

bash
newlogic blocks list
newlogic blocks add header-nav-left
newlogic blocks update

skills

Installs the bundled newlogic-cli skill for agent workflows using skills.sh.

bash
newlogic skills install

Follow the skills.sh steps to install the skill. Select any of the available options via spacebar and confirm with enter.

Released under the MIT License.