You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Customize Forest data directory via env variable #6008
Forest data directory is customizable exclusively with a configuration file. We could make it easier by allowing to pass an environmental variable like FOREST_PATH (in Lotus, there's a LOTUS_PATH so it'd make easier for folks switching between implementations).
Precedence:
Env variable
Config
Defaults
Other binaries might also need to be updated, e.g., forest-wallet.
Completion Criteria
Introduce FOREST_PATH environmental variable and ensure it's consistent with other forest* binaries
Look into current configuration files in Forest test scripts - perhaps some logic could be simplified thanks to this.
Taking this. Plan: add FOREST_PATH env var honored by forest, forest-cli, forest-wallet and forest-tool with precedence env > config > defaults, plus a startup log of the resolved data dir. Docs + CHANGELOG entry to follow. PR shortly.
Activity
hanabi1224 commentedon Aug 28, 2025
I think it'd also be helpful to log the actual data dir on startup.
0xDevNinja commentedon May 19, 2026
Taking this. Plan: add
FOREST_PATHenv var honored byforest,forest-cli,forest-walletandforest-toolwith precedence env > config > defaults, plus a startup log of the resolved data dir. Docs + CHANGELOG entry to follow. PR shortly.feat: honor FOREST_PATH env var for data directory