Skip to content

Instantly share code, notes, and snippets.

@jonjack
Last active November 25, 2020 18:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonjack/c65d12ae7889e92f93d423856fd7f60b to your computer and use it in GitHub Desktop.
Save jonjack/c65d12ae7889e92f93d423856fd7f60b to your computer and use it in GitHub Desktop.

Mac Setup

Fonts

Check out Adobe Fonts.

brew tap caskroom/fonts && brew cask install font-source-code-pro

Python

We never want to use the system Python, nor do we want to mess around with it. Instead, we want to install a separate version of python for our own development. Easy way is to use pyenv

brew install pyenv

Install python.

# or
pyenv install <version-of-python>
pyenv install 3.9.0 

List installed versions.

pyenv versions

As per the instructions in https://realpython.com/intro-to-pyenv/, add the following to ~/.bashrc: or ~/.zshrc

export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init -)"

To set the Python version

pyenv global 3.0.9    // global version
pyenv local 3.0.9     // local version

Java

Use Jenv to manage versions of Java.

Configuring your shell

If using Bash check out https://github.com/ohmybash/oh-my-bash and the https://github.com/romkatv/powerlevel10k theme.

If using Zsh check out https://github.com/ohmyzsh/ohmyzsh and enable the Powerline theme via the oh-my-bash config in .bashrc

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