Skip to content

Instantly share code, notes, and snippets.

@pydanny
Last active October 3, 2024 12:51
Show Gist options
  • Save pydanny/b11f61cde65b984fe442cb7cc8d71d84 to your computer and use it in GitHub Desktop.
Save pydanny/b11f61cde65b984fe442cb7cc8d71d84 to your computer and use it in GitHub Desktop.
New mac installation

Concept for install

Use homebrew, uv, and gh cli to install everything. Try to avoid downloading directly.

At the end of each install, add the items suggested for going into the .zshrc.

# Install homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install uv

Might need to also add miniconda, let's first see how it works with pytorch and cuda

curl -LsSf https://astral.sh/uv/install.sh | sh

Then install some pythons

uv python install 3.10 3.11 3.12

Setup and activate a python environment

uv venv --python 3.10.0
source .venv/bin/activate

Install utilities

  • brew install --cask visual-studio-code
  • brew install gh
@ncoop57
Copy link

ncoop57 commented Oct 1, 2024

Wanted to also link to how you can use brew to install nerd fonts: https://github.com/ryanoasis/nerd-fonts?tab=readme-ov-file#option-2-homebrew-fonts

@pydanny
Copy link
Author

pydanny commented Oct 3, 2024

Thanks Nate! I editing the doc to show that install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment