I’m currently an iOS engineer but have always been a full-stack guy at heart. Now I’ll show you how I set up a new terminal based on what I need and a few desires.

Initial

  •   Install brew
  •   Install node using brew brew install node

Terminal

  •   Install iterm2 brew cask install iterm2
  •   Install zsh brew install zsh
  •   Install oh-my-zsh
    sh -c "$(curl -fsSL[<https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh>](<https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh>))"
    
  •   Install iterm2 themes
  •   Install spacehip:
    git clone [<https://github.com/denysdovhan/spaceship-prompt.git>](<https://github.com/denysdovhan/spaceship-prompt.git>) "$ZSH_CUSTOM/themes/spaceship-prompt" --depth=1
    
    ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"`
    
  •   Install nerd font brew tap homebrew/cask-fonts then brew install --cask font-hack-nerd-font
  •   Install tmux brew install tmux
  •   Install zsh plugins
        -  Syntax autosuggestion -
    git clone [<https://github.com/zsh-users/zsh-autosuggestions>](<https://github.com/zsh-users/zsh-autosuggestions>) ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
    

        -   Syntax highlight -

    git clone <https://github.com/zsh-users/zsh-syntax-highlighting.git> ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
    

        -   Auto complete -

    git clone [<https://github.com/zsh-users/zsh-completions>](<https://github.com/zsh-users/zsh-completions>) ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions
    
  •   Generate ssh-key ssh-keygen -t rsa check :     How to manage multiple GitHub accounts on a single machine with SSH keys
  •   Copy ssh-key to bitbucket or github or whatever.
  •   Clone dotfiles and cp -r dotfiles/ ~/ or use your own configs.
  •   Run source commands:

        -   source ~/.zshrc
        -   source ~/.vimrc

  •   Install tmux plugin manager     -   git clone [<https://github.com/tmux-plugins/tpm>](<https://github.com/tmux-plugins/tpm>) ~/.tmux/plugins/tpm     -   tmux source ~/.tmux.conf     -   Run Prefix + I

Editor (VIM)

  •   Install neovim brew install neovim
  • Share vimrc config to neovim. https://vi.stackexchange.com/a/15548
  •   Install vim plugIn :PlugInstall
    sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \\
               <https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim>'
    

Ruby

  •   Install rbenv
  •   Install latest ruby from rbenv, check list using rbenv install -l

Rails

  • Install postgres: brew install postgres (for non-containerized projects) 
  • Install docker:  brew install --cask docker
  • Install redis: brew install redis (for non-containerized projects)

iOS | Android | Flutter

  • Download Xcode
  • Download Android Studio
  • Install Flutter env

Misc (Optional)


Some vim plugins: 

  1.  Ruby vim