Documentation

How to Use Starter

Create reusable project templates in minutes, then scaffold new projects with a single command.

1

Create a Template

  1. 1Sign up and go to your dashboard
  2. 2Click “Create Template”
  3. 3Enter a template ID like my-nextjs-template
  4. 4Add a name and description
  5. 5Choose if it’s public or private
2

Build Your Recipe

Click “Edit Recipe” to open the visual builder.

Add Questions

  • Confirm: Yes/no questions (like “Use TypeScript?”)
  • Select: Multiple choice (like “Choose a database”)

Add Packages

For each question, add packages to install. For example, if they choose TypeScript, install typescript and @types/node.

Add Commands

Add commands to run, like npx prisma init if they choose Prisma.

Add Env Variables

List any environment variables they need to configure, like DATABASE_URL.

3

Publish a Version

  1. 1Click “Save Draft”
  2. 2Enter a version number (like 1.0.0)
  3. 3Click “Publish”

Note: Published versions can’t be edited. To make changes, create a new version.

4

Use Your Template

Anyone can now create projects using your template:

npx @tachles/starter your-template-id

The CLI will automatically:

  1. Ask your questions
  2. Install the right packages based on answers
  3. Run your commands
  4. Create a .env file with the variables you specified

Live Example

$ npx @tachles/starter nextjs-starter
? Use TypeScript? › Yes
? Database? › PostgreSQL
? Auth provider? › Clerk
✓ Installing packages...
✓ Running setup commands...
✓ Creating .env file...
Done! Run: cd nextjs-starter && npm run dev

Pro Tips

  • Keep questions simple—ask only what’s necessary
  • Test your template before publishing
  • Use clear, descriptive template IDs
  • Provide examples in environment variable descriptions
  • Follow semantic versioning (1.0.0, 1.1.0, 2.0.0)

Need Help?

We’re here to help you build amazing templates

Email Support