https://github.com/tsunematsu21/dotfiles
🧑💻 My macOS dotfiles
https://github.com/tsunematsu21/dotfiles
dotfiles dotfiles-macos macos macos-setup
Last synced: about 1 month ago
JSON representation
🧑💻 My macOS dotfiles
- Host: GitHub
- URL: https://github.com/tsunematsu21/dotfiles
- Owner: tsunematsu21
- Created: 2023-10-29T06:11:02.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-09T10:49:00.000Z (about 1 year ago)
- Last Synced: 2025-07-11T13:55:24.382Z (12 months ago)
- Topics: dotfiles, dotfiles-macos, macos, macos-setup
- Language: Makefile
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dotfiles
My macOS dotfiles.
## Setup instructions
### 1. Command line operations
Most operations are performed automatically by Makefile, but some operations must be performed manually.
```sh
# Get this repository
git clone ~/dotfiles
cd ~/dotfiles
# Setup system preferences, Install packages, Deploy dotfiles
make
# Refresh shell
exec -l $SHELL
# Create SSH key with passphrase
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519_tsunematsu21
# Add SSH key to ssh-agent with passphrase
eval "$(ssh-agent -s)"
ssh-add --apple-use-keychain ~/.ssh/id_ed25519_tsunematsu21
# Login to GitHub using CLI
gh auth login
# Add singing key to GitHub
gh auth refresh -h github.com -s admin:ssh_signing_key
gh ssh-key add ~/.ssh/id_ed25519_tsunematsu21.pub \
--title tsunematsu21.pub-`date '+%Y%m%d'` \
--type signing
# Configure both an IAM Identity Center profile and sso-session
aws configure sso
```
### 2. Manual operations
Configure application settings.
* **Warp**
* Settings > Appearance
* Prompt: Shell prompt (PS1)
* Text > Terminal font: FiraCode Nerd Font Mono
* **Raycast**
* Settings > Advanced
* Import / Export: Import the exported `.rayconfig` file
## Useful commands
```sh
# Unstow(-D)/Restow(-R) the dotfiles.
stow -v -t ~ -D aws gh git ssh starship zsh
stow -v -t ~ -R aws gh git ssh starship zsh
# List/Uninstall(--force) all dependencies not listed from the Brewfile.
brew bundle cleanup --file=./Brewfile
brew bundle cleanup --file=./Brewfile --force
# Install LTS Node.js to global by asdf, and activate pnpm
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
asdf install nodejs lts
asdf global nodejs lts
```