Skip to content

Instantly share code, notes, and snippets.

@BaReinhard
Last active July 10, 2026 16:52
Show Gist options
  • Select an option

  • Save BaReinhard/ef0dc259485a1aa1afe595a1c2b88c18 to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown

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

divyansh-jain-guavus commented Sep 10, 2020

Copy link
Copy Markdown

Me XIII XD

@Haque197

Copy link
Copy Markdown

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
Copy Markdown

Me XIV

@Max094Reikeb

Copy link
Copy Markdown

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

@samuelh2005

Copy link
Copy Markdown

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

@ekz0rcyst

Copy link
Copy Markdown

How to update wine version from brew?

@samuelh2005

Copy link
Copy Markdown

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

@jackkrebsbach

Copy link
Copy Markdown

Me XV

@AviFS

AviFS commented Jul 26, 2021

Copy link
Copy Markdown

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

@rubba77

rubba77 commented Oct 27, 2021

Copy link
Copy Markdown

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

@GrishaPastukhov

Copy link
Copy Markdown

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

brew install --cask wine-stable

@adamdavenport

adamdavenport commented Nov 4, 2021 via email

Copy link
Copy Markdown

@ajencrypted

Copy link
Copy Markdown

brew install --cask wine-stable

@osalbahr

Copy link
Copy Markdown

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
Copy Markdown
➜  ~ 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

osalbahr commented Jul 8, 2023

Copy link
Copy Markdown

➜ ~ 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

juanmf commented Oct 18, 2023

Copy link
Copy Markdown

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

@crummy

crummy commented Oct 18, 2023

Copy link
Copy Markdown

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

@Rezvanpm

Rezvanpm commented Jan 5, 2025

Copy link
Copy Markdown

turn on SIP on your mac. now you can bypass installation software from unverified developers.

@Computer-idiot

Copy link
Copy Markdown

thanks your, How I can uninstall the exe that install in mac by this way?

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