Centy CLI
CLI for managing project issues and docs via code in the .centy folder. Local-first, git-friendly issue and documentation tracking.
Installation
Install via Shell Script (recommended)
Install the daemon and CLI in one go:
curl -fsSL https://github.com/centy-io/installer/releases/latest/download/install.sh | sh
Then install the CLI:
pnpm add -g centy
Install via pnpm
pnpm add -g centy
centy install daemon
pnpm dlx centy
Install the Daemon
The CLI requires the centy daemon to be running. You can install it with either method:
curl -fsSL https://github.com/centy-io/installer/releases/latest/download/install.sh | sh
centy install daemon
centy install daemon --version 0.1.0
centy install daemon --force
Quick Start
centy install daemon
centy start
centy init
centy create issue --title "Fix login bug" --priority high
centy list issues
Commands
Project Management
centy init
centy init --force
centy register project
centy untrack project
Issues
centy create issue
centy create issue --title "Bug fix" --description "Fix the bug" --priority high --status open
centy create issue -t "Bug fix" -d "Description" -p high -s open
centy list issues
centy get issue 1
centy get issue abc123-uuid
centy issue 1
centy issue abc123-uuid
centy update issue 1 --status closed
centy update issue 1 --title "New title" --priority high
centy update issue 1 -s in-progress
centy delete issue 1
Priority levels: low, medium, high
Default statuses: open, in-progress, closed
Documentation
centy create doc --title "Getting Started"
centy create doc --title "API Reference" --content "# API\nDocumentation here"
centy create doc --title "Guide" --slug my-custom-slug
centy create doc --title "New Feature" --template feature
centy list docs
centy get doc getting-started
centy update doc getting-started
centy delete doc getting-started
Assets
centy add asset ./screenshot.png --issue 1
centy add asset ./image.jpg --issue 1 --name my-image.jpg
centy add asset ./logo.png --shared
centy list assets --issue 1
centy list assets --shared
centy get asset <asset-id> --output ./downloaded.png
centy delete asset <asset-id>
Daemon Management
centy install daemon
centy install daemon --version 0.1.0
centy install daemon --force
centy start
centy start --foreground
centy info
centy restart
centy shutdown
Project Info
centy config
centy config --json
centy manifest
centy version
centy list projects
centy get project
Migrations
centy update
centy update --target 0.2.0
centy update --force
The .centy Folder
Centy stores all project data in a .centy folder that you can commit to git:
.centy/
├── .centy-manifest.json # Project manifest with file hashes
├── config.json # Project configuration
├── README.md # Project README
├── issues/ # Issue files
│ └── <uuid>/
│ ├── issue.md # Issue content (markdown)
│ ├── metadata.json # Issue metadata (status, priority, timestamps)
│ └── assets/ # Issue-specific assets
├── docs/ # Documentation files
│ └── <slug>/
│ ├── doc.md # Doc content (markdown)
│ └── metadata.json # Doc metadata
└── assets/ # Shared assets (accessible by all issues)
All files are human-readable markdown and JSON, making them easy to review in PRs and track in version control.
Requirements
- Node.js >= 20.0.0
- Centy Daemon (install with
centy install daemon)
Supported Platforms
The daemon supports:
- macOS (Intel & Apple Silicon)
- Linux (x86_64 & ARM64)
- Windows (x86_64)
Development
git clone https://github.com/centy-io/centy-cli.git
cd centy-cli
pnpm install
pnpm build
pnpm test
./bin/run.js --help
License
MIT