-
Install Homebrew (if not already installed):
- Homebrew is a package manager for macOS. Open Terminal and run:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - Follow the on-screen instructions.
- Homebrew is a package manager for macOS. Open Terminal and run:
-
Install Python via Homebrew:
- In the Terminal, run:
brew install python
- This will install the latest version of Python.
- In the Terminal, run:
-
Verify Installation:
- Check the Python version by typing:
python --version
- Check the Python version by typing:
-
Install Poetry:
- In the Terminal, execute:
curl -sSL https://install.python-poetry.org | python -
- In the Terminal, execute:
-
Verify Installation:
- Check the Poetry version with:
poetry --version
- Check the Poetry version with:
https://www.jetbrains.com/pycharm/download/
-
Download VS Code:
- Go to the VS Code website.
- Download the macOS version.
-
Install VS Code:
- Open the downloaded
.zipfile. - Drag
Visual Studio Code.appto theApplicationsfolder.
- Open the downloaded
-
Verify Installation:
- Open VS Code from the
Applicationsfolder to ensure it runs correctly.
- Open VS Code from the
-
Install Git via Homebrew (if not already installed with Xcode):
- Run in Terminal:
brew install git
- Run in Terminal:
-
Verify Installation:
- Check the Git version by running:
git --version
- Check the Git version by running:
-
Configure Git:
- Set your Git username and email, which are crucial for Git commits.
- In Terminal, run:
git config --global user.name "Your Name" git config --global user.email "your.email@example.com"
-
Install VS Code Extensions:
- Python Extension Pack
- Python Test Explorer for Visual Studio Code
- Install Xcode Command Line Tools (if needed for Git):
- If Git was not installed via Homebrew, install Xcode Command Line Tools, which includes Git:
xcode-select --install
- If Git was not installed via Homebrew, install Xcode Command Line Tools, which includes Git: