This quick guide is the lightweight entry point. For the full Docker-focused walkthrough in the docs folder, see docs/GETTING_STARTED.md.
- Git
- Node.js 22+
- Docker Desktop (recommended for safe testing)
git clone https://github.com/flyingrobots/git-cms.git
cd git-cms
npm install
npm linkgit clone https://github.com/flyingrobots/git-cms.git
cd git-cms
npm run setup
npm run devOpen the UI at http://localhost:4638/.
- Click
+ New Article. - Set a slug like
my-first-post. - Add title + body content.
- Click
Save Draft. - Click
Publishwhen ready.
# Draft reads content from stdin
echo "# Hello" | git cms draft hello-world "Hello World"
# List drafts
git cms list
# Publish
git cms publish hello-world
# Show article
git cms show hello-world- Prefer Docker workflows while learning.
- Use a dedicated test repository for local CLI experimentation.
- Avoid running low-level Git plumbing in repositories you care about.
See TESTING_GUIDE.md for safety and cleanup procedures.