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β ShowsFinance::Quoteversion and exposed quote sources. lowkey just a lil vibe check on your quote sources. β¨getβ Retrieves online quotes. π note this requiresFinance::Quoteto 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 parametersFinance::Quotereturns 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 theREADMEfile.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 theREADMEfile.
ngl if you're messing withGUILE_LOAD_PATHorGNC_MODULE_PATHyou'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
- fedora 43: gnucash 5.17-1.fc43 Β· GPL-2.0-or-later
- fedora 44: gnucash 5.17-1.fc44 Β· GPL-2.0-or-later
- nixpkgs unstable: gnucash 5.17
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms