GT-CONFIG-PATH(1) gitea-cli Manual GT-CONFIG-PATH(1)

gt-config-path - Print the paths of the settings files

gt config path [flags]

Print the paths of the settings files

-h, --help[=false] help for path

--debug[=false] Log the method, URL, status, and duration of each HTTP request to stderr

--host="" Gitea instance URL, including any base path

--interactive[=false] Allow prompts with machine output

--no-input[=false] Disable prompts and implicit editor/browser interactions

--sudo="" Perform API requests as this user (requires an administrator account)

--user="" Account name on the selected instance

$ gt config path
# Settings of another configuration directory
$ GITEA_CLI_CONFIG_DIR=~/work/gt gt config path

gt-config(1)

Nov 2026 gitea-cli