Skip to content

Dev environment setup 🍽️

License

Notifications You must be signed in to change notification settings

sheetd/.dotfiles

Repository files navigation

Mac OS computer set-up

  1. Install Apple's Command Line Tools, which are prerequisites for Git and Homebrew.
xcode-select --install
  1. Clone repo into new hidden directory.
git clone https://github.com/sheetd/.dotfiles.git ~/.dotfiles
  1. Install OMZ
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  1. Setup 1Password CLI (as described in the docs)

https://developer.1password.com/docs/cli/get-started/

  1. Run the init script to set-up links
cd ~/dotfiles
./install
  1. Install Homebrew, followed by the software listed in the Brewfile.
# These could also be in an install script.

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

# Then pass in the Brewfile location...
brew bundle

TODO Mac

  • move omz to a submodule?
  • move init script to Python code
  • Learn how to use defaults to record and restore System Preferences and other macOS configurations.
  • Automate symlinking and run script files with a bootstrapping tool like Dotbot.
  • Revisit the list in .zshrc to customize the shell.

New Linux os set-up

  1. Clone repo into new hidden directory.
git clone https://github.com/sheetd/.dotfiles.git ~/.dotfiles
  1. If remote host, add authorized_keys file to the ~/.ssh directory

  2. Install OMZ

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  1. Run the init script to set-up links
  cd ~/dotfiles
./install

TODO Linux

  • Move init script to Python code
  • Add typical apt installers (omz, etc.) to script

New Windows computer set-up

  1. Clone repo into new hidden directory
# Use SSH (if set up)...
git clone git@github.com:sheetd/.dotfiles.git ~/.dotfiles-win

# ...or use HTTPS and switch remotes later.
git clone https://github.com/sheetd/.dotfiles.git ~/.dotfiles-win
  1. Create symlinks to config files Open a CMD terminal as admin
cd /Users/neil/
mklink /H ".gitconfig" "./.dotfiles/win/.gitconfig"
mklink /J ".ssh" "./.dotfiles/.ssh"
  1. Install typical apps (1password CLI)

TODO Windows

  • Typical installers (using winget?)
  • replace links section with init script

About

Dev environment setup 🍽️

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published