Skip to content

Getting Started

This guide walks you through installing cli-template and running your first command.

  • Rust 1.70+ (stable) — required only if building from source.
  • Node.js 18+ — required only if using the npm wrapper.
Section titled “Option 1: Cargo (Recommended for Rust Users)”
Terminal window
cargo install cli-template
Terminal window
npm install -g @dallay/cli-template

The npm wrapper automatically downloads the pre-built binary for your platform.

Terminal window
docker pull yacosta738/cli-template:latest
Terminal window
git clone https://github.com/dallay/cli-template.git
cd cli-template
cargo build --release

The binary will be available at target/release/cli-template.

Terminal window
cli-template --version

Run the help command to see available subcommands:

Terminal window
cli-template --help

Try the greet command:

Terminal window
cli-template greet --name "World"

Expected output:

Hello, World!