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 -gBasic 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 -ycms
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 Heroblocks
Lists, installs, removes, or reinstalls reusable blocks tracked in newlogic.config.json.
bash
newlogic blocks list
newlogic blocks add header-nav-left
newlogic blocks updateskills
Installs the bundled newlogic-cli skill for agent workflows using skills.sh.
bash
newlogic skills installFollow the skills.sh steps to install the skill. Select any of the available options via spacebar and confirm with enter.
