How to use beancount: Difference between revisions
Jump to navigation
Jump to search
Tags: Mobile edit Mobile web edit |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
* 语法检测 bean-check file.beancount | * 语法检测 bean-check file.beancount | ||
* 账本展示 fava file.beancount 之后根据提示,一般是在 http://127.0.0.1:5000 查看 | * 账本展示 fava file.beancount 之后根据提示,一般是在 http://127.0.0.1:5000 查看 | ||
==记账== | |||
* 心法零:一切皆账户。 | |||
* 心法一:有出必有入。 | |||
* 心法二:有入必有出。 | |||
{| class="wikitable" | |||
|损 | |||
|益 | |||
|- | |||
|Income | |||
|Expenses | |||
|- | |||
| -+ | |||
| +- | |||
|} | |||
{| class="wikitable" | |||
|负债 | |||
|资产 | |||
|- | |||
|Liabilities | |||
|Assets | |||
|- | |||
| -+ | |||
| +- | |||
|} | |||
Equity 也有增减。 |
Latest revision as of 12:43, 24 January 2025
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 也有增减。