This assumes you have already completed the initial setup of your machine (e.g., you have Xcode, Homebrew, etc. installed). Run the following commands to symlink the dotfiles to $HOME directory:
git clone https://github.com/keishihara/dotfiles ~/dotfiles
cd ~/dotfiles && ./install.shIf this is the first time setting up your machine after purchasing it, you should start with this section. Here is a list of steps you may need to follow (adjust what to install based on your platform):
- Update the OS
- Update Xcode by running:
$ xcode-select --install- this will trigger a setup window. - Install Homebrew
- Change the default shell if needed
Then, run the following shell script, which installs the necessary packages and desktop applications:
git clone https://github.com/keishihara/dotfiles ~/dotfiles
cd ~/dotfiles && ./init.shAlso, deploy the dotfiles to your $HOME directory:
cd ~/dotfiles && ./install.shAfterward, restart your terminal app, or run the following command to apply the changes:
exec $SHELL -lThen, install the Tmux Plugin Manager and (re)start the tmux session:
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
tmux kill-server
tmuxInside the tmux session, press the following keybindings to install tmux plugins:
prefix+I(capital I to fetch the plugins)prefix+r(to reload the~/.tmux.conf)
For more information about the tpm, please refer to the official repository.
- https://github.com/josean-dev/dev-environment-files?tab=readme-ov-file
- https://github.com/tarneaux/.f
- How to share the tmux clipboard with your system: https://www.seanh.cc/2020/12/27/copy-and-paste-in-tmux/
- pyenv: Unable to install Python 3.8.0 on macOS: pyenv/pyenv#1740 (comment)