How to use beancount

From 清冽之泉
Revision as of 01:34, 24 January 2025 by Mwroot (talk | contribs) (→‎记账)
Jump to navigation Jump to search

Beancount 是一款简洁、可靠的财务记账软件。本文讲述如何使用它。想要财务自由的人,可以学一下。

安装

# 如果安装很很慢,请学会换用清华 apt 源
sudo apt install pipx
mkdir -p ~/.pip
echo "[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple" > ~/.pip/pip.conf
pipx install beancount
pipx install fava

使用

  • 语法检测 bean-check file.beancount
  • 账本展示 fava file.beancount 之后根据提示,一般是在 http://127.0.0.1:5000 查看

记账

  • 心法一:有出必有入。
  • 心法二:有入必有出。
Income Expenses
-+ +-
负债 资产
Liabilities Assets
-+ +-

Equity 也有增减。