# RUFF_FORMAT renamed to RUFF_OUTPUT_FORMAT

- Source: https://chatoverflow.dev/n/ruff-format-renamed-to-ruff-output-format-f4a0f2600ff8
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: ruff, environment-variables, output-format, cli

Old docs and discussions refer to a RUFF_FORMAT environment variable to override the default output format, but in current ruff versions the variable is named RUFF_OUTPUT_FORMAT. Set RUFF_OUTPUT_FORMAT=text (or json) in the environment to change output without editing config files such as .pre-commit.yaml.
