Installation
Pick the install path that matches your workflow; all routes are quick.
Requirements
Python 3.11 or higher
pip, uv, or Homebrew
Virtual environment (recommended so your globals stay clean)
Installation Methods
Using Homebrew (macOS/Linux) — Recommended
The easiest way to install Super Pocket on macOS or Linux:
brew tap dim-gggl/super-pocket
brew install super-pocket
This installs Super Pocket system-wide without needing to manage Python environments.
Using pip (Standard)
The simplest way to install Super Pocket is using pip:
pip install super-pocket
To install with optional dependencies:
# Install with PDF support
pip install "super-pocket[pdf]"
# Install with web utilities
pip install "super-pocket[web]"
# Install with all optional features
pip install "super-pocket[all]"
# Install with development dependencies
pip install "super-pocket[dev]"
Using uv (Recommended for Python users)
uv is a blazing-fast Python package installer and resolver:
# Install uv if you haven't already
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install Super Pocket as a tool (globally available)
uv tool install super-pocket
# Or install with all features
uv tool install "super-pocket[all]"
To install in a project environment:
# Install in current environment
uv pip install super-pocket
# Or install with all features
uv pip install "super-pocket[all]"
From Source
To install Super Pocket from source for development:
# Clone the repository
git clone https://github.com/dim-gggl/super-pocket.git
cd super-pocket
# Create and activate virtual environment
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install in editable mode
pip install -e .
# Or with all dependencies
pip install -e ".[all,dev]"
Using uv for Development
# Clone the repository
git clone https://github.com/dim-gggl/super-pocket.git
cd super-pocket
# Install dependencies with uv
uv sync
# Install in editable mode with all features
uv pip install -e ".[all,dev]"
# Activate virtual environment
source .venv/bin/activate
Optional Dependencies
Super Pocket has several optional feature sets:
PDF Features (super-pocket[pdf])
Required for PDF conversion functionality:
fpdf2>=2.7.0- PDF generation librarymarkdown-pdf>=1.0.0- Markdown to PDF converter
pip install "super-pocket[pdf]"
Web Features (super-pocket[web])
Required for web utilities like favicon generation:
Pillow>=10.0.0- Image processing library
pip install "super-pocket[web]"
Development Dependencies (super-pocket[dev])
Required for contributing to Super Pocket:
pytest>=7.0.0- Testing frameworkpytest-cov>=3.0.0- Coverage pluginblack>=23.0.0- Code formatterruff>=0.1.0- Fast Python linter
pip install "super-pocket[dev]"
All Features (super-pocket[all])
Install everything except development dependencies:
pip install "super-pocket[all]"
Verifying Installation
Sanity check right after install:
pocket --version
pocket --help
pocket markdown render README.md
echo "# Hello Super Pocket" > test.md
pocket markdown render test.md
You should see:
pocket, version 1.2.0
Usage: pocket [OPTIONS] COMMAND [ARGS]...
Super Pocket - Developer productivity tools collection
Options:
--version Show the version and exit.
--help Show this message and exit.
Commands:
markdown Markdown rendering tools
pdf PDF conversion tools
project Project export tools
documents Agent templates and cheatsheets management
web Web utilities
Virtual Environment Setup
It’s strongly recommended to use a virtual environment:
Using venv
# Create virtual environment
python -m venv .venv
# Activate on Linux/macOS
source .venv/bin/activate
# Activate on Windows
.venv\Scripts\activate
# Install Super Pocket
pip install super-pocket
Using conda
# Create conda environment
conda create -n super-pocket python=3.11
# Activate environment
conda activate super-pocket
# Install Super Pocket
pip install super-pocket
Troubleshooting
Command Not Found
If you get a “command not found” error after installation:
Ensure your virtual environment is activated
Check that the installation directory is in your PATH
Try running with
python -m pocketinstead ofpocket
Permission Errors
If you encounter permission errors during installation:
# Use --user flag
pip install --user super-pocket
# Or use a virtual environment (recommended)
python -m venv .venv
source .venv/bin/activate
pip install super-pocket
Import Errors
If you get import errors when running Super Pocket:
Ensure you’re using Python 3.11 or higher:
python --versionReinstall with
pip install --force-reinstall super-pocketCheck for conflicting packages:
pip list | grep super-pocket
Optional Dependencies Missing
If PDF or web features don’t work:
# Install missing dependencies
pip install "super-pocket[all]"
# Or install specific feature set
pip install "super-pocket[pdf]" "super-pocket[web]"
Next Steps
Now that Super Pocket is installed, head over to the Quick Start Guide guide to learn how to use it!
See Also
Quick Start Guide - Quick start guide
Commands Reference - Complete command reference
Contributing to Super Pocket - Contributing to Super Pocket