Skip to content

Quick Start

Use a global library for personal cross-project knowledge:

Terminal window
pkm init --scope global

Inside a git repo, use a project library for repo-specific notes:

Terminal window
pkm init --scope project
Terminal window
pkm capture "look into event schema changes"

Captures land in Inbox/ as timestamped fleeting notes.

Terminal window
pkm save --title "Architecture Decision: Switch to Kafka" --tags architecture,kafka

Structured notes use registered type templates and are saved into the type’s configured directory.

Terminal window
pkm index

Index after creating, editing, moving, or pulling notes. The SQLite database is a derived cache.

Terminal window
pkm search kafka
pkm search --tags architecture
pkm backlinks "Architecture Decision: Switch to Kafka"
pkm heat compute
pkm heat show "Architecture Decision: Switch to Kafka"
library root/
├── Inbox/
├── Notes/
├── MOCs/
└── .pkm/
├── types/
├── types.json
└── .index/pkm.db