Env vars
Environment Variables¤
Pwndbg relies on several environment variables to customize its behavior. Below is a list of these variables and their purposes:
PATH: Standard systemPATHvariable used to locate executables.EDITOR,VISUAL: Used by thecymbolcommand to open an editor.HOME,XDG_CACHE_HOME: Used bylib.tempfileto determine temporary file locations.PWNDBG_VENV_PATH: Specifies the virtual environment path for Pwndbg.NO_COLOR: Disables colored output in Pwndbg.PWNDBG_LOGLEVEL: Initial log level to use for log messages.OPENAI_API_KEY,ANTHROPIC_API_KEY: Used by theaicommand for accessing respective AI APIs.GITHUB_ACTIONS,RUN_FLAKY: Used bytests_commands.pyto determine the test environment.PWNDBG_PROFILE: Enables profiling for benchmarking.USE_PDB: Enables Python debugger in tests.PWNDBG_LAUNCH_TEST: Used by tests to configure test launching.PWNDBG_ARCH,PWNDBG_KERNEL_TYPE,PWNDBG_KERNEL_VERSION: Used bygdblibkernel tests to specify kernel parameters.SPHINX: Used bydocs/source/conf.py, likely to be removed.PWNLIB_NOTERM=1: Set by Pwndbg to avoid terminal issues with Pwntools.