Configuration Overview
The current Hike configuration model has three main layers:
- CLI runtime overrides such as
--configand--env-file - A YAML configuration file for persistent defaults
- An optional
.envfile plus JSON schemas for runtime-only values and validation
Resolution order
Section titled “Resolution order”The active configuration file is resolved in this order:
- a path passed with
--config - the
HIKE_CONFIG_PATHenvironment variable ./hike.config.yamlin the current working directory, if it exists~/.config/hike/config.yaml- legacy config files such as
~/.config/hike/configuration.json
The environment file follows the same pattern via --env-file and
HIKE_ENV_PATH.
Read next
Section titled “Read next”A small example
Section titled “A small example”theme: textual-darkbinding_set: mnemoniclocal_browser_view_mode: flat-liststartup_auto_open: truestartup_auto_open_patterns: - INDEX.md - README.md