Installation¶
Prerequisites¶
- Python 3.8+
- fzf — fuzzy finder for prompt selection
Installing fzf¶
Install PromptKeep¶
Using a Virtual Environment (Recommended)¶
git clone https://github.com/mtnlark/promptkeep.git
cd promptkeep
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install .
Verify Installation¶
You should see the available commands listed.
Configuration¶
PromptKeep uses two environment variables:
| Variable | Purpose | Default |
|---|---|---|
PROMPTKEEP_VAULT |
Vault location | ~/PromptVault |
EDITOR |
Text editor for editing prompts | vim |
Set these in your shell profile (.bashrc, .zshrc, etc.):
Troubleshooting¶
- "fzf not found"
- Install fzf using the instructions above, then ensure it's in your PATH.
- "command not found: promptkeep"
- If using a virtual environment, make sure it's activated. Otherwise, check that your Python scripts directory is in your PATH.
- Editor doesn't open
- Set the
EDITORenvironment variable to your preferred editor.