TinyKit Pro Docs

CLI Overview

Start a new TinyKit project with a single command using tinykit-cli

The tinykit-cli CLI lets you scaffold new TinyKit projects with a single command. No installation required - just run it via npx.

Quick Start

npx tinykit-cli my-app

This will:

  1. Check your system prerequisites
  2. Authenticate you via browser (if needed)
  3. Let you select a TinyKit product
  4. Download and extract the project to my-app/
  5. Display next steps for getting started

Features

  • Zero Installation: Run directly via npx without installing globally
  • OAuth Authentication: Secure browser-based login with token stored in OS keychain
  • System Prerequisites Check: Validates Git, Node.js, and Bun availability
  • Interactive Product Selection: Choose from available TinyKit products
  • Progress Tracking: Real-time download progress with visual feedback
  • Cross-Platform: Works on macOS, Windows, and Linux

System Requirements

ToolVersionRequiredNotes
Git>= 2.0.0YesFor cloning and version control
Node.js>= 22.0.0YesRuntime for the CLI
Bun>= 1.0.0RecommendedTinyKit works best with Bun

Note: While Bun is recommended for the best TinyKit experience, npm, yarn, or pnpm will also work for package management.

Basic Usage

Create a New Project

# Interactive mode (prompts for project name and product)
npx tinykit-cli

# Specify project name
npx tinykit-cli my-saas-app

# Skip prompts with flags
npx tinykit-cli my-app --product tinykit-pro

Authentication

# Login to TinyKit
npx tinykit-cli login

# Check current user
npx tinykit-cli whoami

# Logout
npx tinykit-cli logout

Updates

# Check for CLI updates
npx tinykit-cli update --check

# Update to latest version
npx tinykit-cli update

What's Next?

On this page

Ship your startup faster. In minutes.

Get TinyKit Pro