Documentation
Everything you need to get started with pmpt CLI
Installation
$ npm install -g pmpt-cli
Requires Node.js 18+
Getting Started
pmpt init Initialize project folder and start history tracking
Usage:
pmpt init [path] Options:
- -r, --repo <url> — GitHub repository URL
$ pmpt init
$ pmpt init ./my-project
$ pmpt init -r https://github.com/user/repo
pmpt plan Quick product planning with 5 questions — auto-generate AI prompt
Usage:
pmpt plan [path] Options:
- --reset — Restart plan from scratch
$ pmpt plan
$ pmpt plan --reset
Version Tracking
pmpt save Save current state of docs folder as snapshot
Usage:
pmpt save [path] $ pmpt save
pmpt watch Watch for file changes and auto-save versions
Usage:
pmpt watch [path] $ pmpt watch
pmpt status Check project status and tracked files
Usage:
pmpt status [path] $ pmpt status
pmpt history View saved version history
Usage:
pmpt history [path] Options:
- -c, --compact — Show compact history (hide small changes)
$ pmpt history
$ pmpt history -c
pmpt squash Squash multiple versions into one
Usage:
pmpt squash <from> <to> [path] $ pmpt squash v2 v5
Platform
pmpt login Authenticate with pmptwiki via GitHub
Usage:
pmpt login $ pmpt login
pmpt logout Clear saved authentication
Usage:
pmpt logout $ pmpt logout
pmpt publish Publish project to pmptwiki platform
Usage:
pmpt publish [path] $ pmpt publish
pmpt clone Clone a project from pmptwiki
Usage:
pmpt clone <slug> $ pmpt clone my-awesome-project
pmpt browse Browse and search published projects
Usage:
pmpt browse $ pmpt browse
Typical Workflow
$ pmpt init # Initialize project
$ pmpt plan # Answer 5 questions, get AI prompt
# Paste prompt into AI tool, build your product
$ pmpt save # Save progress
$ pmpt login # Authenticate (one-time)
$ pmpt publish # Share with the world