Skip to content

init

Terminal window
pkm init --scope global
pkm init --scope project
pkm init --scope all

init creates hidden PKM internals and seeds the default note types.

Terminal window
pkm init --scope global

Default path: ~/PKM

Override path:

Terminal window
PKM_GLOBAL_LIBRARY=/path/to/library pkm init --scope global
Terminal window
pkm init --scope project

The project library lives at the current git repository root.

.pkm/
├── types/
├── types.json
└── .index/

Note directories are created when their types are registered or used.