Requirements
Before you can use Beancount ledger, you need to set up the underlying Python and Beancount dependencies on your machine. This guide covers the required software and how to install them on any major operating system.
📋 System Prerequisites​
The plugin requires the following command-line tools to be available:
- Python 3.8 or newer: The runtime environment for executing Beancount.
- Beancount v3 or newer: The main plain-text accounting engine.
- bean-query: The query tool for BQL execution. Note: Starting with Beancount v3, beanquery is distributed as a separate package and must be installed explicitly.
- bean-price (Optional): The automated price-fetching tool. Distributed as
beanprice.
💻 OS-Specific Installation Guide​
Select the instructions corresponding to your operating system below:
Windows​
- Install Python: Download and run the installer from the official Python downloads page.
[!IMPORTANT] During installation, make sure to check the box "Add Python.exe to PATH".
- Install Beancount, bean-query, and beanprice: Open PowerShell or Command Prompt and run:
pip install beancount beanquery beanprice - Verify Installation:
If any commands are not found, ensure that Python's script directory (usually
python --version
bean-check --version
bean-query --version
bean-price --versionC:\Users\<YourUsername>\AppData\Local\Programs\Python\Python3X\Scripts\) is in your system's PATH environment variable, then restart Obsidian.
macOS​
- Install Homebrew: If you don't have Homebrew, install it from brew.sh.
- Install Python: Open Terminal and run:
brew install python - Install Beancount dependencies: Run the following pip command:
pip3 install beancount beanquery beanprice - Verify Installation:
python3 --version
bean-check --version
bean-query --version
bean-price --version
Linux (Debian / Ubuntu / Fedora / Arch)​
- Install Python and Pip:
- Debian/Ubuntu:
sudo apt update
sudo apt install python3 python3-pip python3-venv - Fedora:
sudo dnf install python3 python3-pip - Arch Linux:
sudo pacman -S python python-pip
- Debian/Ubuntu:
- Install Beancount packages:
pip3 install beancount beanquery beanprice - Verify Installation:
python3 --version
bean-check --version
bean-query --version
bean-price --version
WSL (Windows Subsystem for Linux)​
If you prefer to run Beancount inside WSL:
- Open your WSL terminal (e.g. Ubuntu).
- Install Python and pip:
sudo apt update
sudo apt install python3 python3-pip - Install the required Beancount tools:
pip3 install beancount beanquery beanprice - The plugin will automatically detect WSL on startup and run commands through
wsl <command>. Ensure that your vault and files are accessible within WSL (e.g., located under/mnt/c/Users/...).