I have installed wine through a .pkg from here. Wine Stable.app
works fine, but when I run any wine-related command from the terminal, I get command not found
.
macOS – Fix ‘Wine: Command Not Found’ Error After Installing Wine
command linemacoswine
Related Question
- Terminal – Command Found with `which` but Runs from Old Path
- MacOS – Troubleshooting Wine Not Opening Programs
- macOS Wine – How to Uninstall Wine
- Missing ntlm_auth when running app with Wine
- MacOS Terminal – Command Not Found When Typing Too Fast
- Catalina Wine – Getting Wine to Work on MacOS
- Why Does curl Command Fail in AppleScript but Work in Terminal?
- macOS Command Line – Fix ‘__git_ps1: command not found’ Error
Best Answer
The wine related commands are not in the path so you have to add them:
(this is for if you installed it for all users, if it's for only your user put
~/Applications
instead of/Applications
)If you installed 64-bit wine also:
sudo ln -s /Applications/Wine\ Stable.app/Contents/Resources/wine/bin/wine64 /usr/local/bin/wine64
Optional: