setting wine prefix at CLI

From thelinuxwiki
Revision as of 18:50, 13 May 2025 by Nighthawk (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To specify a WINEPREFIX on the command line when running Wine, set the WINEPREFIX environment variable before the command. For example:

bash

WINEPREFIX=/path/to/your/prefix wine your_program.exe