Linux, Python, and command line interactions with GitHub are recommended for convenient computing.
- In PowerShell, run
wsl --install
. Once WSL is installed, you can run linux operating systems on your Windows PC. - Install your favorite linux distribution(s). One option is the one on the Microsoft Store.
- Open Windows Terminal and select the linux operating system. Now you can use linux.
- 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.
- 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.
- 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 replyyes
. Now you can push and pull to GitHub from the command line. - 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 toPlease tell me who you are
and rungit config --global...
, follow git's instructions.