My dotfiles for macOS and Linux (Ubuntu 24.04).
Some files (for example raycast configuration) are encrypted and can only be decrypted with my private password. Do not use the dotfiles as-is but as a base for your configuration.
If this is your first time setting up this dotfiles repository on a new machine:
ssh-keygen -t ed25519 -C "your_email@example.com"
# Press Enter to accept default location (~/.ssh/id_ed25519)
# Enter a passphrase (recommended)
# macOS: add SSH key to Keychain (stores passphrase)
ssh-add --apple-use-keychain ~/.ssh/id_ed25519
# Linux: add SSH key to agent
ssh-add ~/.ssh/id_ed25519# macOS
pbcopy < ~/.ssh/id_ed25519.pub
# Linux
xclip -sel clip < ~/.ssh/id_ed25519.pubThen go to GitHub SSH Settings and add your ssh key.
cd ~
git clone git@github.com:cyprieng/dotfiles.git
cd dotfilesmake installThis will run the full installation process (auto-detects macOS or Linux).
Run make help to see all available commands:
make install- Full installation (auto-detects OS)make install-macos/make install-linux- OS-specific full installationmake stow- Symlink all dotfilesmake unstow- Remove all symlinksmake init- Install prerequisites (brew on macOS, apt on Linux)make deps- Install all dependenciesmake setup- Configure apps & system settingsmake tools- Install language tools via mise + uv (runs after stow)make extra- Install extra applications and configurations (macOS only)make update- Update everythingmake clean- Clean up broken symlinks and Homebrew cachemake backup- Backup app configurations (macOS only)
- Reduce animations: Apple menu > System Settings > Accessibility > Motion > Turn on Reduce motion
- Add qwerty-fr: Apple menu > System Settings > Keyboard > Input Sources > Add qwerty-fr from Others
- Hide menu bar items: Apple menu > Menu Bar > Hide everything except Aerospace and AlDente (replace native battery with it)
Make sure the following apps run on startup:
- Aerospace
- AlDente
- CleanShotX
- Hammerspoon
- Raycast
- Karabiner
- BetterTouchTool
Rearrange Dock:
- Safari
- Chrome
- Claude
- Ghostty
- Obsidian
Install the following chrome extensions:
- 2FAS
- Archive.today
- Obsidian Web Clipper
- Old Reddit Redirect
- Proton Pass
- uBlock Origin Lite
- Vimium
- Wayback Machine
The following Safari extensions:
Add the following bookmarks to the bookmarks bar:
- Homelab Apps
- Hacker News
- GitHub
- Kite News
- Via
- Archive.is
Install CleanMyMac
Change the wallpaper using the ones from wallpaper directory.
Do not forget to log out and log back in to make sure all changes are applied.