Skip to content

caillou/mac-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mac Setup

Todo

xcode-select --install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew install \
  asdf \
  ffmpeg \
  fish \
  fzf \
  git \
  glib \
  graphicsmagick \
  htop \
  imagemagick \
  jesseduffield/lazygit/lazygit \
  libdvdcss \
  mas \
  maven \
  postgresql \
  rar \
  rename \
  ruby \
  sshuttle \
  tig \
  the_silver_searcher \
  thefuck \
  tree \
  wget \
  youtube-dl
sudo bash -c 'echo /usr/local/bin/fish >> /etc/shells'
chsh -s /usr/local/bin/fish

Now close the terminal.

brew tap homebrew/cask-fonts
brew tap homebrew/cask-versions
brew install --cask \
  alfred \
  boop \
  discord \
  docker \
  font-ibm-plex \
  google-chrome \
  google-chrome-canary \
  hammerspoon \
  handbrake \
  istat-menus \
  iterm2 \
  microsoft-edge \
  microsoft-teams \
  mongodb-compass \
  nextcloud \
  signal \
  spotify \
  steam \
  telegram \
  the-unarchiver \
  threema \
  visual-studio-code \
  vlc

cd ~/Downloads && wget https://raw.githubusercontent.com/caillou/mac-setup/main/ayu%20dark.itermcolors && open "ayu Dark.itermcolors"

git config --global user.email "pierre.spring@caillou.ch"
git config --global user.name "Pierre Spring"

sudo mas install 668208984 # GIPHY CAPTURE
sudo mas install 425264550 # Blackmagic Disk Speed Test

ZSH Setup

For my ZSH setup, check the following link: https://gist.github.com/caillou/adf85eca6318b2d189d7e7af39b332ed#file-zsh-macos-md

asdf

asdf manages tool versions (Python, Node.js, …). It is installed via Homebrew above.

Fish integration

Add the shims to your PATH in ~/.config/fish/config.fish:

set --prepend PATH "$HOME/.asdf/shims"

Optionally install the completions:

asdf completion fish > ~/.config/fish/completions/asdf.fish

Legacy version files

To make asdf pick up tool-native version files like .nvmrc and .python-version, create ~/.asdfrc with:

legacy_version_file = yes

Install tools

asdf plugin add python
asdf install python 3.12.13
asdf set -u python 3.12.13

asdf plugin add nodejs
asdf install nodejs latest
asdf set -u nodejs latest

asdf set -u writes the version to ~/.tool-versions, making it the global default. (It replaces asdf global, which was removed in asdf 0.16.)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages