Skip to content

Instantly share code, notes, and snippets.

@BaReinhard
Last active November 12, 2024 13:14
Show Gist options
  • Save BaReinhard/ef0dc259485a1aa1afe595a1c2b88c18 to your computer and use it in GitHub Desktop.
Save BaReinhard/ef0dc259485a1aa1afe595a1c2b88c18 to your computer and use it in GitHub Desktop.
Installing Wine to run .exe files on Mac

Install Wine to run .exe files

For Mac OSX

If you haven't installed Homebrew yet do so by following this guide

  1. Open a terminal
  2. brew install --cask xquartz, wait for it to complete the install, it should ask you for your password before beginning
  3. brew install --cask wine-stable , this will take some time to finish so sit back and relax.

For Linux

  1. sudo apt-get install wine-stable

Now Wine is installed, to use wine, open a terminal navigate to the exe and type:

wine /path/to/file.exe

@zabelkina
Copy link

Getting error when running brew cask install wine-stable

Error: Cask 'wine-stable' is unavailable: No Cask with this name exists.

Can anyone help?

@divyansh-jain-guavus
Copy link

divyansh-jain-guavus commented Sep 10, 2020

Me XIII XD

@Haque197
Copy link

Getting error when running brew cask install wine-stable

Error: Cask 'wine-stable' is unavailable: No Cask with this name exists.

Can anyone help?

you need to install homebrew onto mac
https://brew.sh/

@ChristianLoizou
Copy link

Me XIV

@Max094Reikeb
Copy link

Please help me. I did everything right, and it still says the command "wine" does not exist

@ajh123
Copy link

ajh123 commented Jan 30, 2021

@Max094Reikeb you may need to install with brew cask install wine-stable

@ekz0rcyst
Copy link

How to update wine version from brew?

@ajh123
Copy link

ajh123 commented Feb 18, 2021

@ekz0rcyst probably. ```brew cask reinstall wine-stable````

@jackkrebsbach
Copy link

Me XV

@AviFS
Copy link

AviFS commented Jul 26, 2021

Thanks for the instructions, me XVI!
Also on newer homebrew versions, remember that the syntax is brew install --cask wine-stable.

@rubba77
Copy link

rubba77 commented Oct 27, 2021

brew cask install wine-stable
Error: Unknown command: cask
I had already installed Homebrew.
Help?

@GrishaPastukhov
Copy link

brew cask install wine-stable
Error: Unknown command: cask
I had already installed Homebrew.
Help?

brew install --cask wine-stable

@adamdavenport
Copy link

adamdavenport commented Nov 4, 2021 via email

@ajencrypted
Copy link

brew install --cask wine-stable

@osalbahr
Copy link

Getting error when running brew cask install wine-stable
Error: Cask 'wine-stable' is unavailable: No Cask with this name exists.
Can anyone help?

you need to install homebrew onto mac https://brew.sh/

The error message would be different if homebrew wasn't installed. Something along the lines of:

% brew
zsh: command not found: brew

@charanjit-singh
Copy link

➜  ~ brew install --cask wine-stable
==> Downloading https://formulae.brew.sh/api/cask.jws.json
-=#=#   #   #                                                                  
Warning: Cask 'wine-stable' is already installed.

To re-install wine-stable, run:
  brew reinstall --cask wine-stable
➜  ~ wine
zsh: command not found: wine
➜  ~ wine
zsh: command not found: wine

@osalbahr
Copy link

osalbahr commented Jul 8, 2023

➜ ~ brew install --cask wine-stable
==> Downloading https://formulae.brew.sh/api/cask.jws.json
-=#=# # #
Warning: Cask 'wine-stable' is already installed.

To re-install wine-stable, run:
brew reinstall --cask wine-stable
➜ ~ wine
zsh: command not found: wine
➜ ~ wine
zsh: command not found: wine

What does brew list tell you? Also try typing “wine” and then hit the tab bar. You might need to hit the tab bar twice to see suggestions. iirc it’s wine64 that you want.

@juanmf
Copy link

juanmf commented Oct 18, 2023

I run into Mac OS security issues. “Wine Stable” cannot be opened because the developer cannot be verified.
Any hint?

@crummy
Copy link

crummy commented Oct 18, 2023

I run into Mac OS security issues. “Wine Stable” cannot be opened because the developer cannot be verified. Any hint?

https://support.apple.com/en-nz/guide/mac-help/mh40616/mac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment