1Check if Homebrew is Installed
First, let's check if you already have Homebrew installed on your system. Open Terminal and run:
brew --version
2Install Homebrew (if needed)
If Homebrew isn't installed, install it using the official installation script:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
After installation, you may need to add Homebrew to your PATH. The installer will provide specific instructions, but typically you'll need to run:
echo 'export PATH="/opt/homebrew/bin:$PATH"' >> ~/.zshrc && source ~/.zshrc
/usr/local/bin
instead of /opt/homebrew/bin
3Update Homebrew
Before installing yt-dlp, make sure Homebrew is up to date:
brew update
4Install yt-dlp
Now you can install yt-dlp using Homebrew:
brew install yt-dlp
5Verify Installation
Confirm that yt-dlp is installed correctly by checking its version:
yt-dlp --version
You can also view the help information to see available options:
yt-dlp --help
6Configure Stacher7 to use yt-dlp managed by brew
Open Stacher7 and go into the Settings window. Click the Advanced tab and enable the switch labeled "Use Custom YT-DLP"
Once enabled, find the setting labeled YT-DLP Location and enter:
/usr/homebrew/bin/yt-dlp
OR if you're running MacOS on Intel
/usr/local/bin/yt-dlp
7Keeping yt-dlp Updated
To update yt-dlp to the latest version in the future, simply run:
brew upgrade yt-dlp