Build a better use of the terminal on macOS

  • Installation iTerm2. Download https://iterm2.com/downloads/stable/latest
  • Installation Nerd Fonts. Download https://github.com/ryanoasis/nerd-fonts/releases/download/v2.0.0/Hack.zip
  • Generate SSH key. commandssh-keygen
  • Upload the public key to Github account. The cat ~/.ssh/id_rsa.pubresults uploaded to Github account SSH keys in
  • Use a proxy to access Github. Edited ~/.ssh/configto add the following content
Host github.com
    User git
    Hostname github.com
    Port 22
    Proxycommand nc -X 5 -x 127.0.0.1:6153 %h %p
  • Use ssh [email protected]verify the settings are correct and that the agent is working properly.
  • Install Homebrew. Installation Commands/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Guess you like

Origin www.cnblogs.com/zhuxiaoxi/p/11639840.html