Skip to content

Latest commit

 

History

History
97 lines (69 loc) · 2.21 KB

File metadata and controls

97 lines (69 loc) · 2.21 KB

Installation Guide for Python, Poetry, VS Code, and Git on macOS

Installing Python

  1. 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.
  2. Install Python via Homebrew:

    • In the Terminal, run:
      brew install python
    • This will install the latest version of Python.
  3. Verify Installation:

    • Check the Python version by typing:
      python --version

Installing Poetry

  1. Install Poetry:

    • In the Terminal, execute:
      curl -sSL https://install.python-poetry.org | python -
  2. Verify Installation:

    • Check the Poetry version with:
      poetry --version
      

Installing Pycharm

https://www.jetbrains.com/pycharm/download/

Installing Visual Studio Code (VS Code)

  1. Download VS Code:

  2. Install VS Code:

    • Open the downloaded .zip file.
    • Drag Visual Studio Code.app to the Applications folder.
  3. Verify Installation:

    • Open VS Code from the Applications folder to ensure it runs correctly.

Installing Git

  1. Install Git via Homebrew (if not already installed with Xcode):

    • Run in Terminal:
      brew install git
  2. Verify Installation:

    • Check the Git version by running:
      git --version

Post-Installation Steps

  • 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:

  1. Python Extension Pack
  2. 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