Skip to content

duyxsays/macOS-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🍏 macOS setup

OS Setup

  • ⚙️ System Settings
    • 📋 General
      • Handoff: On
      • AirDrop: Contacts only
      • Airplay: On same network
    • 💻 Desktop & Dock
      • Minimise windows using: Scale Effect
      • Minimise windows into application icon:Off
      • Automatically hide and show the Dock: On
      • Animate opening applications: Off
      • Show indicator for open applications: Off
      • Show suggested and recent apps in Dock: Off
      • Click wallpaper to reveal desktop:Only in Stage Manager
      • Stage Manager: Off
    • 🖥️ Displays
      • Show resolutions as list(Advanced...): On
    • 🖱️ Trackpad
      • Tap to click: On
  • 🔦 Finder
    • 📋 General
      • Show these on the desktop: Select None
      • New Finder windows show: Home Folder
    • Advanced
      • When performing a search: Search the current folder

Applications setup

🍺 Homebrew

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

Homebrew for installing packages.
Add Homebrew to your PATH in ~/.zprofile:

echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"

and check that Homebrew is installed properly.

brew doctor

👨🏼‍💻 warp

brew install warp

warp replaces the mac-os terminal application.

💾 oh-my-zsh

Open source framework for managing zsh configuration and terminal.

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

🔍 Raycast

brew install raycast

Raycast replaces the Spotlight function.
Install the raycast Brew plugin afterwards.
Change the keyboard shortcut @ System Settings -> Keyboard -> Keyboard shortcuts -> Spotlight -> Uncheck CMD+SPACE

🔥🦊 Firefox

brew tap homebrew/cask-versions
brew install homebrew/cask-versions/firefox-developer-edition

Extensions: Dark Reader, Dashlane, Decentraleyes, Privacy Badger and uBlock Origin

🗑️ AppCleaner

brew install --cask appcleaner

🍻 Brew installs

Download dev.txt, apps.txt or prod.txt depending on the mac setup and run the following:

xargs brew install < file.txt

📝 TextEdit

defaults write com.apple.TextEdit NSShowAppCentricOpenPanelInsteadOfUntitledFile -bool false

To open empty text page.

defaults delete com.apple.TextEdit NSShowAppCentricOpenPanelInsteadOfUntitledFile

To revert. Remember to select plain text in ,+CMD.

Dev tools

🐈‍⬛ GitHub CLI

brew install gh
gh create repo name --public 
git remote add origin https://github.com/OWNER/REPOSITORY

⌨️ Neovim

brew install nvim
git clone https://github.com/ThaDuyx/kickstart.nvim.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim

🐍 Python

brew install python

To select interpreter, type python, python2 or python3 into the terminal.
Check version with.

python --version

⚒️ Miniforge

brew install miniforge

Python environment manager

🎶 Node.js

Double check the latest version on the nvm GitHub page.

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash

Afterwards download wanted node version.

nvm install 20
nvm use 20
node --version

🛡️ ssh

mkdir .ssh/
touch ~/.ssh/config
ssh-keygen -t ed25519 -C "email"
eval "$(ssh-agent -s)"
open ~/.ssh/config

Add the following to the file

Host github.com
  AddKeysToAgent yes
  UseKeychain yes
  IdentityFile ~/.ssh/id_ed25519

Copy contents of the ssh key with the following prompt and enter this in github

pbcopy < ~/.ssh/id_ed25519.pub

App Store

About

Personal setup for mac-os in case of reinstall

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published