To install VLC on a Mac with Homebrew, open Terminal and run brew install --cask vlc. Homebrew downloads the VLC desktop app and installs it like other macOS applications; the --cask option matters because VLC is a graphical app, not just a command-line tool.
Why VLC uses a Homebrew cask
Homebrew is a package manager: it helps you install and maintain software from the command line. Its packages come in different forms. A formula generally installs command-line software or libraries, while a cask manages macOS applications and other software distributed in app-style packages. VLC is VideoLAN’s media player application, so the Homebrew cask is the appropriate choice for most Mac users.
That distinction explains why searching for VLC and entering brew install vlc is not the clearest way to install it. Homebrew’s command-line interface has separate formula and cask workflows, and the explicit command avoids ambiguity. If you want the VLC player you can open from Finder or Launchpad, use brew install --cask vlc.
Homebrew itself can be used in more than one operating-system environment, but macOS casks are intended for Mac applications. If you are on Linux and want VLC, use the installation method supported by your distribution, such as its package manager, rather than expecting the macOS app cask to install a Linux desktop application.
Install VLC with Homebrew
First make sure Homebrew is installed and working. In Terminal, you can check by running brew --version. If the shell reports that it cannot find the brew command, install Homebrew by following the instructions on the official Homebrew website, then follow any instructions it gives for adding Homebrew to your shell’s PATH.
Once brew works, install VLC with these commands:
- Open Terminal from Applications > Utilities, or launch it using Spotlight.
- Optionally run
brew updateto refresh Homebrew’s package information. - Run
brew install --cask vlcand wait for the download and installation to finish. - Open VLC from the Applications folder, Launchpad, or Spotlight.
You do not need to keep Terminal open to use VLC afterward. Homebrew is handling the installation, not acting as a player or launching VLC each time. You can open the app normally and use it to open a media file, a disc, or a supported network stream.
What the command does
The command has three useful parts. brew invokes Homebrew; install asks it to install software; and --cask vlc selects the VLC application cask. Homebrew retrieves the software described by its cask definition and places the app where macOS applications are normally kept. The cask is a recipe for obtaining and installing the application, not a different edition of VLC.
Homebrew may display progress, download details, and a completion message. The exact output can change as Homebrew and VLC are updated, so an unfamiliar progress line is not automatically an error. If you want to inspect the cask before installing, run brew info --cask vlc. That command shows information Homebrew has about the cask, including its current metadata and installation details.
The install command does not mean that every video will play under every circumstance. VLC supports a wide range of media formats and playback sources, but damaged files, unusual codecs, copy protection, missing network access, or hardware limitations can still affect playback. Installing the app and resolving a particular file’s playback problem are separate tasks.
Confirm the installation and open VLC
After installation, look for VLC in the macOS Applications folder. You can also press Command-Space, type VLC, and select the application in Spotlight. If you prefer the command line, brew list --cask displays installed casks; check that VLC appears in the list. To see details about this specific cask, use brew info --cask vlc.
On its first launch, macOS may show a security confirmation for an application downloaded from the internet. Read the dialog and make sure you intended to install VLC before choosing whether to open it. If macOS refuses to launch the app, do not disable system security protections broadly. Check that you used Homebrew’s official installation and consult current VideoLAN or Apple guidance for the exact warning shown on your Mac.
To test playback, choose a media file you already know works in another player and open it in VLC. You can use VLC’s Open File option or drag a file onto the app. Testing a familiar file helps distinguish an installation issue from a problem with a particular file, format, subtitle track, or stream.
Common installation problems
brew: command not found: Homebrew is not installed, or its executable is not on your shell’s PATH. Complete Homebrew’s installation steps and apply the shell configuration instructions it provides.- The cask cannot be found: Run
brew update, then trybrew info --cask vlcagain. Check the spelling and make sure you are using the cask form of the command. - The installation stops or download fails: Check your internet connection and try again. If the message identifies a specific download or checksum problem, do not work around it by downloading an unrelated copy or disabling verification; check Homebrew’s and VideoLAN’s current information.
- VLC appears installed but will not open: Try launching it from Applications, note the exact macOS warning or error, and check whether your macOS version is compatible with the current VLC release. Repeatedly running the install command may not fix an operating-system compatibility or launch-security issue.
- VLC opens but a video will not play: Try another known-good file, then check the file itself, the selected audio or subtitle track, and any network or access requirements. An app installation cannot repair a corrupt file or supply permission to a restricted stream.
When troubleshooting, the precise error text is more useful than a general report that Homebrew failed. You can copy the relevant lines from Terminal when asking for help, but remove private information such as usernames, local file paths, or network addresses if you do not want to share them.
Updating or uninstalling VLC
To update VLC through Homebrew, run brew update and then brew upgrade --cask vlc. The first command refreshes Homebrew’s metadata; the second asks Homebrew to upgrade the VLC cask if an update is available. You can also use brew upgrade to upgrade eligible installed Homebrew packages more broadly, but the targeted command makes clear that you intend to update VLC.
Some applications also offer their own update process. If you use one, avoid assuming that every update channel will be coordinated with Homebrew’s records. If an app was updated outside Homebrew and Homebrew later reports a version mismatch or an upgrade issue, inspect the message and the cask information rather than deleting files by hand. Homebrew’s cask commands are the preferred way to manage an installation that Homebrew installed.
To remove VLC, run brew uninstall --cask vlc. This removes the application managed by the cask. Application preferences or other user-created data may be stored separately in your macOS user account, so uninstalling an app does not necessarily erase every setting or file associated with it. If you plan to reinstall VLC, removing those settings is usually unnecessary.
Homebrew versus downloading VLC directly
Homebrew is convenient if you already use it to manage Mac software. It gives you a repeatable Terminal command and a familiar way to check, upgrade, and uninstall the cask. It can also make it easier to set up VLC on several Macs where Homebrew is already part of the workflow.
Downloading VLC from VideoLAN’s official website is a reasonable alternative if you do not use Homebrew or would rather install an app manually. In either case, get VLC from an official source, check that the download is intended for your Mac, and follow macOS’s normal security prompts. Installing through Homebrew is not inherently required for VLC to work, and installing directly does not make VLC a different media player.
Choose one management approach and keep track of it. If Homebrew installed VLC, use Homebrew to update or uninstall it. If you manually installed the app, use the corresponding manual update and removal process. Mixing methods can make it less obvious which copy is being launched or managed.
Safety and practical considerations
Homebrew commands can download and install software, so check that a command does what you intend before pasting it into Terminal. For this task, the command is brew install --cask vlc; you should not need an unrelated script or a command that disables macOS protections. Use the official Homebrew and VideoLAN sources when checking instructions or download details.
VLC can play many kinds of media, but that does not mean it bypasses every form of digital rights management or access control. Whether a disc, stream, or file can be played depends on its format and restrictions, as well as your hardware, software, and applicable rules. For ordinary personal media files, installing VLC is usually straightforward; for protected content, consult the provider’s supported playback options.
Also keep VLC current. Media players process files from many sources, so updates can include fixes as well as compatibility improvements. Homebrew makes it simple to check for updates, but it is still useful to review the command output and confirm that the upgrade completed successfully.
Frequently Asked Questions
What is the exact command to install VLC with Brew?
Run brew install --cask vlc in Terminal on a Mac with Homebrew installed. The --cask flag selects the macOS application package.
Why does brew install vlc not work?
VLC is installed as a Homebrew cask, so use brew install --cask vlc. If that command still fails, check the error message, update Homebrew’s metadata, and confirm the cask is available for your setup.
Can I install VLC with Homebrew on Linux?
The VLC cask is for the macOS application and is not the normal Linux installation method. On Linux, use your distribution’s supported package manager or the installation instructions provided for your distribution.
How do I update VLC installed with Homebrew?
Run brew update, followed by brew upgrade --cask vlc. This checks Homebrew’s current metadata and upgrades VLC if a newer cask version is available.
How do I uninstall VLC installed with Brew?
Use brew uninstall --cask vlc. This removes the cask-managed application, though macOS user preferences or other personal data may remain in your account.
Is Homebrew required to use VLC on a Mac?
No. Homebrew is one installation and management option. You can also obtain the macOS version from VideoLAN’s official website and manage that installation manually.