DEV Community

Cover image for My personal setup for a new terminal as a Ruby on Rails + iOS + Flutter Engineer
Jaime Jazareno III
Jaime Jazareno III

Posted on

My personal setup for a new terminal as a Ruby on Rails + iOS + Flutter Engineer

I'm currently an iOS Engineer but always been a full stack guy in the heart. Now I will share to you how I setup new terminal based on what I need plus a few wants.

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 https://github.com/jaimejazarenoiii/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 containerize projects)
  • Install docker: brew install --cask docker
  • Install redis: brew install redis (for non containerize projects)

iOS | Android | Flutter

  • Download Xcode
  • Download Android Studio
  • Install Flutter env

Misc (Optional)


Some vim plugins:

  1. https://www.vimfromscratch.com/articles/vim-for-ruby-and-rails-in-2019/

Top comments (0)