Origami CLI is a tool that makes building websites for Origami CMS even easier.
Install Origami CLI globally on your machine for easiest use:
yarn global add origami-cli
.
This will install a global tool that you can run from anywhere with the command origami
.
By default, running origami
in your shell will run the origami run
command.
Runs the Origami app in the current directory. This command looks for the .origami
file, and if it cannot be found, will exit.
origami run
Create a new installation of Origami, downloads the packages, and sets up the .origami
file.
origami new my-site
directory
- Optional parameter to initialize the app in a new directory. You can use nested folder structure here to for path's that don't yet exist. EG:origami new path/to/new/folder
.
Run origami help
to see a full list of the commands and flags.