GNUCASH(1)

πŸ’– GNUCASH(1) πŸ’–

okay bestie, so this is the GnuCash Manual Pages page for gnucash-cli β€” the little command-line bestie that hangs out with GnuCash. i'm gonna walk you through it like we're texting at 2am, but every single flag and file path stays exactly where it is. no cap. 🫢


✨ NAME ✨

gnucash-cli β€” a command line tool to go with GnuCash πŸŽ€


✨ SYNOPSIS ✨

gnucash-cli [options] [ accounts.gnucash ]

✨ DESCRIPTION ✨

so gnucash-cli lets you do certain kinds of interaction with a gnucash datafile directly from the command line. it's giving very "i don't need the GUI today" energy. πŸ’…

it has two modes: quotes mode and report mode. periodt.

🌸 Quotes Mode (activated with --quotes <cmd>) 🌸

this mode has options to get online quotes for foreign currencies and stocks in the given data file. it supports the following command:

  • info β€” Shows Finance::Quote version and exposed quote sources. lowkey just a lil vibe check on your quote sources. ✨
  • get β€” Retrieves online quotes. πŸ‘‘ note this requires Finance::Quote to be properly configured for your system, so like... set it up first bestie.

the get command takes the following options:

  • --namespace=REGEXP β€” a regular expression determining which namespace commodities will be retrieved.
  • dump β€” Fetches current quotes for specified currencies or stocks from a specified namespace and print the results to the console. πŸ–¨οΈ this must be followed with a source and one or more symbols, unless the source is "currency", in which case it must be followed with two or more symbols β€” the first of which is the currency in which exchange rates for the rest will be quoted.

the dump command takes the option:

  • -v
  • --verbose β€” Lists all of the parameters Finance::Quote returns for the symbol instead of only the ones that Gnucash requires. the way that it just dumps the whole thing... πŸ’€

🌸 Report Mode (activated with --report <cmd>) 🌸

this mode has options to work with reports in the given data file. it supports the following command:

  • run β€” Runs a report on the given data file. go bestie, run it πŸƒβ™€οΈβœ¨

the run command takes the following options:

  • --name=REPORT_NAME β€” Name of the report to run
  • --export-type=TYPE β€” Specify export type

🌸 General Options 🌸

  • --version β€” Show GnuCash version 🌈
  • --help β€” Show this help message
  • --debug β€” Enable debugging mode: increasing logging to provide deep detail. it's giving detective era πŸ”
  • --extra β€” Enable extra/development/debugging features.
  • --log β€” Log level overrides, of the form "log.ger.path={debug,info,warn,crit,error}". This option can be specified multiple times. yes, multiple times, stack 'em πŸ’…
  • --logto β€” File to log into; defaults to "$TMPDIR/gnucash.trace"; use "stderr" or "stdout" to write to the terminal.

✨ FILES ✨

  • ~/.gnucash/config.auto β€” Automatically generated per-user configuration file. DO NOT EDIT MANUALLY! 🚨
okay this is the one i'm serious about. that file is auto-generated. hands off. the computer made it, let the computer keep it. πŸ™ˆ

✨ ENVIRONMENT ✨

  • GNC_DEBUG β€” Enable debugging output. This allows you to turn on the debugging earlier in the startup process than you can with --debug. so like, early access debugging πŸ‘‘
  • GUILE_LOAD_PATH β€” An override for the GnuCash scheme load path. You shouldn't need to alter this. For more information see the README file.
  • GNC_MODULE_PATH β€” An override for the GnuCash scheme load path for Gnucash modules. You shouldn't need to alter this. For more information see the README file.
ngl if you're messing with GUILE_LOAD_PATH or GNC_MODULE_PATH you're in your main character era but you should probably not be. leave them alone bestie 🫢

✨ BUGS ✨

Please report any bugs using the bug reporting form on the GnuCash web site. πŸ› if you found one, you're literally doing the community a service. slay.


✨ SEE ALSO ✨

  • GnuCash has extensive on-line help available from the "help" menu.
  • Additional information and the latest version is available at the web site: https://www.gnucash.org 🌈

✨ AUTHOR ✨

Robert Merkel <rgmerk@mira.net> wrote this manpage. πŸŽ€

GnuCash was written by Robin Clark, Linas Vepstas, and a cast of thousands. a whole cast, iconic behavior honestly πŸ‘‘


and that's the whole thing, bestie!! πŸ’–βœ¨ this was Version 5.17+, dated 2026-09-26, straight from the GnuCash Manual Pages. go forth and quote your currencies, you absolute icon πŸ¦‹πŸ’…

πŸ“¦ where this page comes from