Check each statement:
- I have opened a terminal before.
- I can tell which folder I am in and change folders in a terminal.
- I can copy, paste, and run multi-line commands.
- I know how to read command output and spot errors.
- I feel comfortable troubleshooting local install or proxy issues.
If any answer is No, switch to Set Up a Codespace for a faster setup with no local installs.
Important
Phones and tablets are not supported for this workshop. Switch to a desktop or laptop before continuing.
Working locally means you'll use the tools and shell you already know — let's get them ready in a few quick steps.
You'll install Git and the gh CLI on your own machine and authenticate with GitHub. By the end you'll be ready to create your practice repository and continue to the core workshop steps.
- You've completed What You Need Before We Start
- You have a free GitHub account and are signed in
- You have a terminal application open (Terminal on macOS, Windows Terminal or Git Bash on Windows, any terminal on Linux)
git --versionWhat success looks like: a line like git version 2.x.x.
You should see git version 2.x.x or higher. If you see an error, download Git from git-scm.com and re-run the check.
GitHub CLI is GitHub's official command-line tool, and you run it with the gh command. Check whether it's already installed:
gh --versionWhat success looks like: version details for gh are printed.
If the command works, continue to the authentication section. If it does not, run the quick install command for macOS, Windows, or Linux.
brew install ghDon't have Homebrew?
If Homebrew is missing or blocked, use the macOS installer from cli.github.com. If Git was not found during Verify Git, install it from git-scm.com before continuing.
winget install --id GitHub.cliDon't have winget?
- If
wingetis unavailable, use the Windows installer from cli.github.com. - If Git was not found during Verify Git, install Git for Windows from git-scm.com.
sudo apt update && sudo apt install gh -yUsing a different package manager?
- The quick install above is for Debian and Ubuntu.
- For Fedora, Arch, or other package managers, use the Linux instructions at cli.github.com.
- If Git was not found during Verify Git, install it with your distro package manager before continuing.
Run gh --version again after installing to confirm it worked.
If you're on GHES, GHEC, behind SSO, or behind a proxy, complete Side Quest: Enterprise Setup Considerations. If any install step is blocked by proxy, permissions, or host-specific setup issues, use Side Quest: Install gh-aw Troubleshooting.
gh auth loginWhat success looks like: interactive prompts complete and login succeeds.
Choose GitHub.com and then Login with a web browser. A one-time code will appear in your terminal — copy it, open the URL shown, and paste the code when prompted.
Warning
Never share the one-time code or your authentication token with anyone. If you accidentally commit a token, revoke it immediately in Settings → Developer settings → Personal access tokens.
- Create your own public repository at github.com/new:
- Name it
my-agentic-workflows. - Check Add a README file.
- Click Create repository.
- Name it
- Clone the repository to your local machine:
gh repo clone my-agentic-workflows
cd my-agentic-workflows- I have cloned the
my-agentic-workflowsrepository to my local machine - I have navigated into the
my-agentic-workflowsdirectory in my terminal -
gh --versionreturns version 2.40.0 or newer
Next: GitHub Actions Intro