Install

Stew is a Go CLI. Install the latest version with Go:

go install github.com/benjuh/stew@latest

Then run stew --help to see the available commands.

Save a template

Point Stew at a directory you want to reuse. Give it a short name so it’s easy to find later.

stew save my-template -p ./my-existing-project
stew list

Add a .stew.yaml manifest to document variables, tags, and tasks for more capable templates.

Create a project

Use a saved template to make a new project directory. Stew protects existing files by default.

stew create my-template my-new-project

Templates can contain Go template expressions in file contents and paths. Provide values with repeatable --var flags or a values file.

stew create my-template my-new-project \
  --var project_name=my-new-project

Discover templates

Stew can search a remote starter catalog and inspect a template before you install it. The benjuh catalog contains curated React, React Native, Expo, Neon, and Render starters with minimal and standard variants.

stew search react --catalog-url https://benjuh.com/stew/catalog/index.json

Use stew info to inspect a template, then install a specific variant when you’re ready.

Keep going

This page is a quick start. The full Stew documentation covers all commands, manifests, task configuration, template variants, and sharing. You can also view the source on GitHub.