-
Notifications
You must be signed in to change notification settings - Fork 9
Installation
sysid edited this page Oct 12, 2025
·
2 revisions
- No dependencies required for basic functionality
- Optional: OpenAI API key for semantic search
cargo install bkmr# Via pip
pip install bkmr
# Via pipx (isolated environment)
pipx install bkmr
# Via uv (fast Python package installer)
uv tool install bkmrbrew install bkmr# Clone the repository
git clone https://github.com/sysid/bkmr.git
cd bkmr
# Build release version
cargo build --release
# Binary will be at: target/release/bkmrAfter installation:
# 1. Generate default configuration
bkmr --generate-config > ~/.config/bkmr/config.toml
# 2. Create database
bkmr create-db ~/.config/bkmr/bkmr.db
# 3. Set environment variable (optional, can also configure in config.toml)
export BKMR_DB_URL=~/.config/bkmr/bkmr.dbAdd the environment variable to your shell profile (.bashrc, .zshrc, etc.) for persistence.
Verify installation:
# Check version
bkmr --version
# View help
bkmr --help
# Create test database
bkmr create-db /tmp/test.dbWhen upgrading to a new version, bkmr will automatically:
- Check if database migrations are needed
- Create a timestamped backup of your current database
- Apply necessary migrations
Backups are saved with date suffix (e.g., bkmr_backup_20250406.db).
# Via cargo
cargo install bkmr --force
# Via pip
pip install --upgrade bkmr
# Via homebrew
brew upgrade bkmrFor more issues, see Troubleshooting.
- Quick Start - Get productive in 5 minutes
- Configuration - Customize bkmr settings
- Basic Usage - Learn common commands