MusicBot logo MusicBot

Mac

Installing MusicBot on Mac is quite simple.

The steps below are for macOS Catalina and above. They may not work on older versions of macOS.

You will need to open Terminal and run the following commands:

# Install Homebrew and Xcode command line tools
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/$(id -un)/.zprofile \
eval "$(/opt/homebrew/bin/brew shellenv)" # To fix "zsh: command not found: brew"
brew update
xcode-select --install

# Install dependencies
brew install python libsodium libffi opus ffmpeg git


# Clone the MusicBot
cd desktop
git clone https://github.com/Just-Some-Bots/MusicBot.git MusicBot -b master 

# Install Python dependencies
cd MusicBot
python3 -m pip install -U pip
python3 -m pip install -U -r requirements.txt

After this, you can find a folder called MusicBot on your Desktop. You can then open it, configure your bot, and then run the bot by double-clicking the run.sh file.

If you can’t run this, you may have to open Terminal, cd to the folder, and use chmod +x run.sh to give the file executable permissions.