mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
* Exclude include files from being built * Split install guides into multiple documents (one per OS/version combo) * Update references * Unify anchor names * Update pyenv requirements in CentOS 7 guide * Update install guides for RHEL derivatives to not use pyenv * Add guide for Rocky Linux 8 * 8.4+ -> 8.4-8.x * Add 'the'
35 lines
960 B
ReStructuredText
35 lines
960 B
ReStructuredText
.. _install-mac:
|
|
|
|
=======================
|
|
Installing Red on macOS
|
|
=======================
|
|
|
|
-------------------------------
|
|
Installing the pre-requirements
|
|
-------------------------------
|
|
|
|
To install pre-requirements, we first have to install Brew.
|
|
In Finder or Spotlight, search for and open *Terminal*. In the terminal, paste the
|
|
following, then press Enter:
|
|
|
|
.. prompt:: bash
|
|
|
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
|
|
|
|
After the installation, install the required packages by pasting the commands and pressing enter,
|
|
one-by-one:
|
|
|
|
.. prompt:: bash
|
|
|
|
brew install python@3.9
|
|
echo 'export PATH="$(brew --prefix)/opt/python@3.9/bin:$PATH"' >> ~/.profile
|
|
source ~/.profile
|
|
brew install git
|
|
brew install --cask adoptopenjdk/openjdk/adoptopenjdk11
|
|
|
|
.. Include common instructions:
|
|
|
|
.. include:: _includes/create-env-with-venv.rst
|
|
|
|
.. include:: _includes/install-and-setup-red-unix.rst
|