Giter VIP home page Giter VIP logo

macos-setup's Introduction

Overview

This repository contains my MacOS basic configuration, including:

  • terminal configuration
  • development setup
  • authentication software

Last working OS version

Monterey 12.1

Steps

Preliminary setup

Brew

https://brew.sh/

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Show hidden files

defaults write com.apple.finder AppleShowAllFiles -boolean true; killall Finder

Xcode

xcode-select --install

Terminal setup

Iterm2

https://iterm2.com/

brew cask install iterm2

Iterm2 Key mapping

https://medium.com/macoclock/5-must-have-key-mappings-on-iterm2-to-be-more-productive-21c4daf56348

ZSH

Even if it's now the default shell in MacOS, use brew to manage it:

https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH

brew install zsh

# add `/usr/local/bin/zsh` in /etc/shells
vi /etc/shells

# set it as default shell
chsh -s /usr/local/bin/zsh

OhMyZsh

https://github.com/ohmyzsh/ohmyzsh

sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Theme

powerlevel10k brew install romkatv/powerlevel10k/powerlevel10k and follow instructions on iterm2 restart

Customize ZSH

Follow https://github.com/leonardbinet/zshcustom instructions.

Authentication setup

Authy

https://authy.com/

brew install --cask authy

Dashlane

https://www.dashlane.com/fr/

Install extensions on browsers.

Generate SSH key, and add it to ssh agent

https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent

Save passphrase in a Dashlane secret note.

Reference it in github https://github.com/settings/keys

Dev setup

Python setup

Pyenv

https://github.com/pyenv/pyenv#installation

brew install pyenv
echo 'eval "$(pyenv init --path)"' >> ~/.zprofile
echo 'eval "$(pyenv init -)"' >> ~/.zshrc

Python

https://github.com/pyenv/pyenv/wiki#suggested-build-environment

brew install openssl readline sqlite3 xz zlib

pyenv install <pythonversion>

Virtualenv

brew install virtualenv

Pipenv

pip install pipenv

Lazygit

https://github.com/jesseduffield/lazygit

brew install jesseduffield/lazygit/lazygit

Github CLI

brew install gh

Node

https://treehouse.github.io/installation-guides/mac/node-mac.html

brew install node

TLDR

https://tldr.sh/

npm install -g tldr

Note: requires node.

JQ

brew install jq

Terraform

Use tfenv to easily manage terraform envs:

brew install tfenv

then

tfenv install <xxx>
tfenv use <xxx>

AWS CLI

brew install awscli

GUI development software

JetBrains ToolBox

https://www.jetbrains.com/fr-fr/toolbox-app/

brew install --cask jetbrains-toolbox

Use it to install PyCharm.

Lens

https://k8slens.dev/

brew install --cask lens

Visual Studio

https://code.visualstudio.com/

brew install --cask visual-studio-code

Sequel Ace

https://github.com/Sequel-Ace/Sequel-Ace

brew install --cask sequel-ace

Other software

Chrome

brew install --cask google-chrome

Spotify

https://www.spotify.com/fr/

brew install --cask spotify

ClickUp

https://clickup.com/

brew install --cask clickup

Ressources

https://betterprogramming.pub/how-to-set-up-your-macbook-for-web-development-in-2021-a7a1f53f6462

https://medium.com/the-code-review/make-your-terminal-more-colourful-and-productive-with-iterm2-and-zsh-11b91607b98c

https://github.com/ohmyzsh/ohmyzsh/wiki/Articles

macos-setup's People

Contributors

leonardbinet avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.