Skip to content

Instantly share code, notes, and snippets.

@rafaelmaeuer
Last active September 11, 2024 15:49
Show Gist options
  • Save rafaelmaeuer/f588318689383e96d19eb42ff90052d5 to your computer and use it in GitHub Desktop.
Save rafaelmaeuer/f588318689383e96d19eb42ff90052d5 to your computer and use it in GitHub Desktop.

iTerm

Navigation fix: https://snippets.cacher.io/snippet/79f0ae552f4c1f1a95bc

ZSH

oh-my-zsh

Install oh-my-zsh via curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Create symlinks from config files

ln -s .../.zprofile ~/.zprofile
ln -s .../.zshenv ~/.zshenv
ln -s .../.zshrc ~/.zshrc

Install PowerLevel10K

git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k

Create symlinks from config file

ln -s .../.p10k.zsh ~/.p10k.zsh

Homebrew

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

Install Wget

brew install wget

Install Node.js

Install NVM first, then Node.js

brew install nvm
# List available node-versions
nvm ls-remote
# Install latest LTS version
nvm install --lts
# Check installed version
node -v

Install CocoaPods

sudo gem install cocoapods

Ruby

Install rbenv first, then ruby

brew install rbenv
# list latest stable versions:
rbenv install -l
# install a Ruby version:
rbenv install 3.3.5
# activate version as new default
rbenv global 3.3.5
# test ruby version (reload shell)
ruby -v

GO

  1. Install Golang with official installer.
  2. Move go dir from /usr/local/go to .../SDK/go
  3. Symlink directory to
    ln -s .../SDK/go /usr/local/go
    ln -s .../SDK/go ~/go

Python

Install python2: https://snippets.cacher.io/snippet/fa7f7598dbc80040c587

Java

Install Intel and M1 compatible version from OpenJDK

brew install --cask zulu@17

Move zulu-17.jdk dir from /Library/Java/JavaVirtualMachines to .../SDK/java

Symlink directory to

ln -s .../SDK/java /Library/Java/JavaVirtualMachines

Android SDK

When installing Android-Studio select path for Android SKD: ~/Development/SDK/android/

Xcode SDK

After installing Xcode move CoreSimulator and Xcode folders from ~/Library/Developer/ to ~/Development/SDK/apple/ and create following symlinks:

ln -s ~/Development/SDK/apple/CoreSimulator ~/Library/Developer/CoreSimulator
ln -s ~/Development/SDK/apple/Xcode ~/Library/Developer/Xcode

Flutter

Download and extract Flutter SDK to: ~/Development/SDK/flutter. Run flutter doctor to analyse setup and fix issues.

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