Skip to content

Latest commit

 

History

History
178 lines (131 loc) · 5.14 KB

install-software.md

File metadata and controls

178 lines (131 loc) · 5.14 KB

Install Software

Before getting to work you will need to make sure your computer is ready to go. In the Software Installations and VSCode Extensions sections of your precourse issue is a list of the software you will need to succeed at HYF.

Git

Git On Mac

  1. Press command and space and type terminal then click enter

  2. In the terminal type git --version if you got a version then you already have git.

  3. If you didn't get a version then you need to install Homebrew

  4. Paste this in your terminal and click enter

    /bin/bash -c "$(curl -fsSL
    https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  5. After you installed Homebrew , use the command brew install git to install git.

Git on Windows

  1. Click on the search icon and type cmd.
  2. Type git --version if you got a version then you already have git
  3. If not install git for Windows

Git on Linux

  1. It depends on your distribution, if you are using Ubuntu
  2. Open your terminal and type git --version
  3. If you didn't get a version then type in your terminal
  4. sudo apt update
  5. sudo apt install git

Node

Node On Mac

  • press command and space and type terminal then click enter

  • in the terminal type node -v if you got a version then you already have it.

  • If you didn't get a version just then you need to install Homebrew if you don't have it already

  • paste this in your terminal and click enter

    /bin/bash -c "$(curl -fsSL
    https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  • after you installed Homebrew , use the command brew install node to install node.

Node on Windows

  • click on the search icon and type cmd.
  • type node -v if you got a version then you already have node
  • if not install node for Windows

Node on Linux

  • It depends on your distribution, if you are using Ubuntu
  • open your terminal and type node -v
  • if you didn't get a version then
  • sudo apt update
  • sudo apt install node.js
  • sudo apt install npm

Install ZSH for Linux and Mac with bash terminal

  • Check if you already have zsh
zsh --version

Install zsh

Ubuntu

sudo apt install zsh

Mac

brew install zsh

Make zsh Your Default Terminal

Ubuntu

 chsh -s $(which zsh)

Mac

<!-- for Apple chip -->
chsh -s /opt/homebrew/bin/zsh

<!-- for Intel ship  -->
chsh -s /usr/local/bin/zsh
  • Restart your laptop

  • Install ohMyZsh

sh -c "$(curl -fsSL
  https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Make Git Bash Default Terminal for VS Code

Windows

Add VS Code to The Path

adding VS code to the path allows you to open your VS code form the terminal

Windows or Linux

  • press Ctrl + shift + p
  • type Shell Command
  • select Shell Command: Install 'code' command in PATH

Mac

  • press command + shift + p
  • type Shell Command
  • select Shell Command: Install 'code' command in PATH