Skip to content

rig CLI

A fast, opinionated scaffolder for code projects. Install it, run a template, and get back to work.

Install rig

Installation

Install rig

Copy and run the command for your platform. rig requires Node.js 20 or newer.

macOS / Linux

npm install -g rig-cli

Windows

npm install -g rig-cli

Verify the install:

rig --version

Quick start

Quick start

Create a project from a template in three commands.

  1. 1. Initialize a new project in the current directory:

    rig init
  2. 2. Pick a template when prompted:

    ? Select a template: (Use arrow keys)
  3. 3. Install dependencies and start the dev server:

    npm install
    npm run dev

All templates include a README with next steps.

Command reference

Command reference

Every rig command, its options, and an example.

CommandDescriptionExample
rig initCreate a new project from a template in the current directory.rig init --template node-server
rig listList available templates and their descriptions.rig list
rig create <name>Create a new project in a subdirectory called <name>.rig create my-api
rig versionPrint the installed version.rig version
rig help [command]Show help for a command, or general help if omitted.rig help create
Built with vibld