init
pkm init --scope globalpkm init --scope projectpkm init --scope allinit creates hidden PKM internals and seeds the default note types.
Global Library
Section titled “Global Library”pkm init --scope globalDefault path: ~/PKM
Override path:
PKM_GLOBAL_LIBRARY=/path/to/library pkm init --scope globalProject Library
Section titled “Project Library”pkm init --scope projectThe project library lives at the current git repository root.
What It Creates
Section titled “What It Creates”.pkm/├── types/├── types.json└── .index/Note directories are created when their types are registered or used.