Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 1.7 KB

setup.md

File metadata and controls

15 lines (11 loc) · 1.7 KB

Setup

Linux, Python, and command line interactions with GitHub are recommended for convenient computing.

Windows

  1. In PowerShell, run wsl --install. Once WSL is installed, you can run linux operating systems on your Windows PC.
  2. Install your favorite linux distribution(s). One option is the one on the Microsoft Store.
  3. Open Windows Terminal and select the linux operating system. Now you can use linux.

Windows and Mac

  1. In Windows, use linux's terminal, which has bash as the default shell. In Mac, use the built-in terminal, which has zsh as the default shell.
  2. Install Python and the conda package management with miniforge from the command line as specified here. Now you can run Python and manage your environments with conda.
  3. Add an SSH key for GitHub: Step 1, Step 2. At the end, if you see a message along the lines of The authenticity... can't be established... Are you sure you want to continue...?, just reply yes. Now you can push and pull to GitHub from the command line.
  4. Clone your repositories from GitHub by going to their webpage, then <> Code, SSH, and copy+paste the git address. Then git clone [email protected]:yourname/reponame.git, replacing the address. When performing commits later on, if git tells you to Please tell me who you are and run git config --global..., follow git's instructions.