Mac Setup - TwoGears/hakomo-guides GitHub Wiki

Install the following programs:

Terminal Setup

  • Catalina uses zh instead of bash.

to switch between them:

chsh -s /bin/bash and chsh -s /bin/zsh

  • launch terminal

  • Install vcprompt

    • $ mkdir bin
    • $ curl -sL https://raw.githubusercontent.com/djl/vcprompt/master/bin/vcprompt > ~/bin/vcprompt
    • $ chmod 755 ~/bin/vcprompt
  • copy .bash_profile

    • $ curl -sL https://raw.githubusercontent.com/TwoGears/hakomo-guides/master/examples/.bash_profile > ~/.bash_profile
      • or if you want to use the extended one with Ionic & Django:
    • $ curl -sL https://raw.githubusercontent.com/TwoGears/hakomo-guides/master/examples/.bash_profile-lyubo > ~/.bash_profile
  • make a .profile file

    • & touch .profile
  • reload the new .bash_profile file

    • $ source ~/.bash_profile
  • make your projects folder (www):

    • $ mkdir ~/www
  • setup ssh

    $ mkdir .ssh
    $ ssh-keygen -t rsa -C "[email protected]"
    $ echo "ssh-add ~/.ssh/id_rsa" >>  ~/.bash_profile && source ~/.bash_profile
    

    Now you need to copy-paste the code it gave you to ~/.ssh/config and also replace the PATH/TO/PRIVATE/KEY with the real path to your real new or old key

ALT+TAB to Finder, press CMD+N, drag the www to the sidebar, for easy access ALT+TAB to Finder, press CMD+, choose www instead of "All My Files", so "www" loads instead of "All my files"

Command Line Tools

$ gcc
then click install or get XCODE

Homebrew

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew doctor

Other

  • account in typingclub.com

PIP and Python (not needed anymore)