Setup
Things to automate the process of automating things.
MacOS is a UNIX-based operating system, so you can run everything in this workshop without any special configuration and can skip ahead :)
In simple terms, it's kind of like two people being from different countries but speaking the same language and understanding each other.
System Requirements
Install Homebrew
First, let's check if homebrew is installed on your machine.
If you see something like command not found
, continue with the installation. Otherwise, you can skip ahead to Install Git.
After the installation, is complete, you'll see something like this.
Your output may be different. (In this case, name
will be replaced with your username.)
Follow the on-screen instructions to add Homebrew to your PATH
.
This is just an example. Don't copy-paste what's here on the site, look at your terminal! Replace `name` with your username.
This is just an example. This will be slightly different for MacOS.
After you're done the two steps above, do these.
Install Git
Continue if you get command not found
, otherwise skip ahead to Install GitHub CLI.
Configure Git
Your username and email will be used to identify you in the Git commit history.
Git's default branch is master
, let's change it to main
to match the convention used by GitHub.
Install GitHub CLI
If you see something like command not found
, continue with the installation. Otherwise, you can skip ahead to Install VS Code.
This simplifies GitHub tasks like cloning repositories, and authentication without needing to copy-paste URLs.
Login with your GitHub account.
Provide the following answers.
Your one-time code will be different.
Open your browser, log in to GitHub and provide it permissions, and then come back to the terminal when you see the Congratulations, you're all set!
screen.
You should see the following in your terminal
Install VS Code
Wondering where to find these commands?
- Go to brew.sh
- Search
VS Code
You can search and find the commands for all of the packages we've installed so far.
Check Your Setup
Confirm that your setup is correct by running these commands. If any fail, refer back to the corresponding setup instructions.
If it's working correctly, you'll see the relevant version number and configuration details.
Press q
to quit.
Please ensure that your setup is complete before proceeding.
Last updated on