Install the latest release on Linux or macOS:
curl -fsSL https://raw.githubusercontent.com/jjcavallo5/fin/main/install.sh | bashThis installs fin at ~/.fin/bin/fin and adds that directory to your PATH in
~/.bashrc. Open a new shell or run source ~/.bashrc after installation.
To begin, you'll need a Plaid developer account, which requires getting approved by the Plaid team. Since this is a single-user local application, usually this isn't an issue.
Once you have your account, you'll need the following products:
- Transactions
- Investments
- Liabilities
You'll also need to be able to access your keys, which you will be prompted for when you first log in to Fin.
To start, you'll first need to log into Fin:
fin loginThis will prompt you for a password - remember this password. It will need to be the same every time you log in. Otherwise, you won't be able to decrypt your data and you'll need to re-link all of your accounts.
Then, paste your Plaid Client ID and production secret.
Note
The Plaid Client ID and Secret are stored ephemerally in memory while the Fin daemon is running. They are never written to disk. Be sure to run the fin quit (or fin stop) commands once your session is complete to stop the daemon.
To link an account, you'll need to first decide which account you'd like to link:
# For banks
fin link bank
# For investment accounts, retirement accounts, etc.
fin link investement
# For credit cards, mortgages, etc.
fin link liabilityThese commands will open a browser and the Plaid linking process will begin. Find your account in the window and log in. When login is successful, the account will be linked to your Fin account.
To unlink an account, run fin unlink. This will open a menu where you can select which account to unlink. Use j and k to navigate the menu (because Vim motions are superior).
A plan describes how Fin should preserve minimum account balances, pay liabilities, and allocate excess money between accounts. Log in and link at least one asset account before creating one; liability rules also require the relevant liability accounts to be linked.
Create a plan with the interactive setup:
fin plan createFin will ask for a name, optional minimum balances, liability payment rules, and optional excess-allocation rules. Review the summary and confirm that you want to save it. The success message includes the plan ID.
Run the saved plan by passing that ID:
fin plan execute <PLAN_ID>Fin evaluates the plan against current account balances and prints the recommended payments and transfers, along with the expected final balances. It reports any required rules that cannot be satisfied.
Important
Fin does NOT initiate any transactions or more money in any way. It simply tells you how to move money to satisify a plan's rules.
fin balance— Show the current and available balances for all linked accounts.fin daemon— Start the local Fin daemon in the foreground.fin link bank— Link a bank account through Plaid.fin link investment— Link an investment or retirement account through Plaid.fin link liability— Link a credit card, loan, mortgage, or other liability through Plaid.fin login— Start the daemon and authenticate with your encryption password and Plaid credentials.fin list— List the institutions currently linked to Fin.fin ping— Check whether the local Fin daemon is responding.fin plan create— Interactively create and save a financial plan.fin plan execute <PLAN_ID>— Evaluate a saved plan against current balances and print its recommended actions.fin quit— Stop the local Fin daemon.fin stop— Stop the local Fin daemon; this is equivalent tofin quit.fin unlink— Select and remove a linked institution.fin net-worth— Calculate net worth from all linked asset and liability balances;fin nwis an alias.fin help— Show the command list; usefin <COMMAND> --helpfor help with a specific command.
