MomongaCode

Environment variables

Read by momonga

VariableMeaning
MOMONGA_SCREEN_READER1 draws the interactive session as plain appended lines, as --screen-reader does, and turns motion off
NO_MOTION1 turns the motion of the interactive session off
NO_COLORany value but empty turns colour off
BROWSERthe program that opens a sign-in page; without it xdg-open, open or rundll32 found on PATH
VISUALthe editor that opens the draft or a settings file
EDITORthe editor that opens the draft or a settings file, when VISUAL is not set
https_proxythe proxy of HTTPS requests to model servers and MCP servers, unless network.httpsProxy or network.httpProxy is set; ignored with network.environment false
HTTPS_PROXYas https_proxy, read after it
http_proxythe proxy of HTTP requests, and of HTTPS requests when no HTTPS proxy is set, unless network.httpProxy is set; ignored with network.environment false
HTTP_PROXYas http_proxy, read after it
all_proxythe proxy of every request when no other proxy variable is set; ignored with network.environment false
ALL_PROXYas all_proxy, read after it
no_proxythe hosts reached without the proxy, unless network.noProxy is set; ignored with network.environment false
NO_PROXYas no_proxy, read after it
SSL_CERT_FILEa file of certificate authorities trusted beside network.extraCaFiles; ignored with network.environment false
NODE_EXTRA_CA_CERTSa file of certificate authorities that Node.js trusts beside its own
XDG_CACHE_HOMELinux: the cache folder of momonga is momonga below it (default ~/.cache)
XDG_DATA_HOMELinux: the keyrings folder below it holds the secrets of the account and is kept from every command (default ~/.local/share)
LOCALAPPDATAWindows: the cache folder of momonga is momonga below it (default %USERPROFILE%\AppData\Local)
APPDATAWindows: the Microsoft\Credentials folder below it holds the secrets of the account and is kept from every command (default %USERPROFILE%\AppData\Roaming)

Given by momonga to the commands it starts

VariableMeaning
MOMONGA_PROJECT_DIRgiven to every hook command: the folder of the session

Read by the installers (install.sh and install.ps1)

VariableMeaning
MOMONGA_REPO<owner>/<repo> of the GitHub repository to download from (default yuuichieguchi/MomongaCode); ignored when MOMONGA_RELEASE_BASE_URL is set
MOMONGA_VERSIONinstall this version (the v<version> release) instead of the latest; ignored when MOMONGA_RELEASE_BASE_URL is set
MOMONGA_RELEASE_BASE_URLdownload from this address instead of GitHub; https, or http on the loopback interface only
MOMONGA_RELEASE_PUBLIC_KEYthe release signing key (an ssh-ed25519 line), used instead of the key in the installer
MOMONGA_INSTALL_PREFIXwhere momonga is installed (default ~/.local on macOS and Linux, %LOCALAPPDATA%\Programs\momonga on Windows)
MOMONGA_MODIFY_PATH0 leaves PATH as it is