Skip to content

Latest commit

 

History

History
89 lines (62 loc) · 2.77 KB

README.md

File metadata and controls

89 lines (62 loc) · 2.77 KB

dotfiles

$ git clone [email protected]:brianhou/dotfiles.git

macOS Setup

  1. Install xcode command-line tools.

    $ chsh -s /bin/bash       # optional: set bash as default terminal
    $ xcode-select --install  # install xcode command-line tools
  2. Install iTerm2, with these preferences.

  3. Create an SSH key and register with GitHub.

  4. Install Homebrew.

    $ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  5. Clone this repository and install symlinks to the desired dotfiles.

    $ ln -s ~/Development/dotfiles/minimal.bashrc ~/.bashrc
    $ ln -s ~/Development/dotfiles/minimal.bash_profile ~/.bash_profile
    $ ln -s ~/Development/dotfiles/minimal.profile ~/.profile
    $ ln -s ~/Development/dotfiles/minimal.vimrc ~/.vimrc
    $ ln -s ~/Development/dotfiles/.doom.d/ ~/.doom.d
    $ ln -s ~/Development/dotfiles/.gitconfig ~/.gitconfig
    $ ln -s ~/Development/dotfiles/.gitignore_global ~/.gitignore_global
  6. Install Doom Emacs, which requires Emacs 27.

    $ brew install git ripgrep coreutils fd
    $ brew tap railwaycat/emacsmacport
    $ brew install emacs-mac --with-modules --with-starter
    $ ln -s /opt/homebrew/Cellar/emacs-mac/<version>/Emacs.app /Applications/Emacs.app
    $ git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d
    $ ~/.emacs.d/bin/doom install
  7. Install pyenv and pyenv-virtualenv.

    $ brew install pyenv pyenv-virtualenv
    $ brew install openssl readline sqlite3 xz zlib tcl-tk
    $ pyenv install <version>
  8. Install other useful tools.

    $ brew install wget ffmpeg

Ubuntu Setup

  1. Install Doom Emacs, which requires Emacs 27.

    $ sudo apt add-apt-repository ppa:kelleyk/emacs
    $ sudo apt update
    $ sudo apt install ripgrep fd-find emacs27
    $ git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d
    $ ~/.emacs.d/bin/doom install
  2. Install pyenv and pyenv-virtualenv.

Miscellaneous Tools