Run the install script to set up packages and dotfiles:
curl -s https://raw.githubusercontent.com/kincaidoneil/dotfiles/main/install.sh | bash -sThis will:
- Install Homebrew (if not present)
- Install all development tools and runtimes
- Symlink dotfiles (
.zshrc,.gitconfig) - Configure Zsh with plugins
To create a new user account with sudo access:
curl -s https://raw.githubusercontent.com/kincaidoneil/dotfiles/main/add-user.sh | bash -sThen switch to the new user and run the install script above.
Use 1Password to manage SSH keys and configure SSH commit signing.
Alternative: Manual GPG/SSH Setup (Legacy)
Import GPG secret key:
gpg --import [PATH]If the key is expired, extend it:
gpg --edit-key [KEY_ID]
> key 1 # Select subkey, too!
> expire # Follow prompts to extend expiration
> saveYou'll need to use an older revision of .gitconfig-[PLATFORM] and manually install GPG tools (brew install gpg2 pinentry-mac).
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519Add ~/.ssh/id_ed25519.pub contents to ~/.ssh/authorized_keys on the remote server. See this guide for more details.
Simplify SSH connections by adding entries to ~/.ssh/config:
Host <NAME>
HostName <IP_ADDRESS>
ForwardAgent yes
UseKeychain yes