Getting Started with GitHub, Git, Homebrew, VS Code, Arc Browser, Amazon Q, and Warp

Getting Started with GitHub, Git, Homebrew, VS Code, Arc Browser, Amazon Q, and Warp

A Complete Guide to Setting Up GitHub, Git, Homebrew, VS Code, Arc Browser, Amazon Q, and Warp for an Optimized Developer Workflow

·

3 min read

This guide provides step-by-step instructions for setting up GitHub, Git, Homebrew (for macOS), and Chocolatey (for Windows). It also includes the installation of Amazon Q, Arc Browser, and Warp Terminal.

📌 Full Guide & Commands Here 👉 https://bit.ly/primary-dev-setup


macOS Setup

1. Searching GitHub from Mac Spotlight

Press Cmd + Space and type github.com to quickly open GitHub in your default browser.

2. Signing Up on GitHub

  1. Visit GitHub and click Sign Up.

  2. Provide an email, username, and password.

  3. Follow the verification steps.

Password Recommendations:

  • Use at least 10 characters.

  • Combine uppercase, lowercase, numbers, and special characters.

3. Creating a GitHub Repository

  1. Go to GitHub New Repository.

  2. Enter Repository Name: osagiebello/test.

  3. Keep everything default and click Create Repository.

  4. Copy the suggested Git commands for pushing to GitHub.

4. Opening the Repository in GitHub Web Editor

Change .com to .dev: github.dev/osagiebello/test to open a VS Code-like web editor.

5. Setting Up Git on Terminal

Checking Git Installation

git --version

Installing Git (Optional)

brew install git

Checking Git Configuration

git config --list
git config --global --list

Configuring Git User

git config --global user.name "Your Name"
git config --global user.email "Your Email"

Setting Default Branch to main

git config --global init.defaultBranch main

Setting VS Code as Default Editor

git config --global core.editor "code --wait"

6. Initializing a Git Repository & Pushing to GitHub

git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/osagiebello/test.git
git push -u origin main

Handling GitHub Account Conflicts

brew install gh
gh auth login

7. Installing Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Verify installation:

brew help

8. Using Homebrew Commands

brew search <package>        # Search for packages
brew info <package>          # Get package info
brew install <package>       # Install a package
brew update                  # Update Homebrew
brew upgrade                 # Upgrade installed packages
brew list                    # List installed packages
brew uninstall <package>      # Uninstall a package
brew outdated                # Find outdated packages
brew uninstall --zap <package> # Remove residual files
brew install --dry-run <package> # Test install before running
brew help <command>          # Get detailed help

9. Installing and Using Arc Browser

brew search arc
brew install --cask arc

Sign up and log in to Arc.

10. Installing Amazon Q

brew install --cask amazon-q

Useful Commands:

q help
q restart
q inline enable
q inline disable
q login
q logout
q ai "Explain git merge vs rebase"
q translate "What is Homebrew?"
q chat

11. Installing and Using Warp Terminal

brew install --cask warp

Sign up/login.


Windows Setup Using Chocolatey

1. Installing Chocolatey

Run PowerShell as Administrator and execute:

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

Verify installation:

choco -?

2. Installing Git Using Chocolatey

choco install git -y

Verify installation:

git --version

3. Installing VS Code

choco install vscode -y

4. Installing Amazon Q

choco install amazon-q -y

5. Installing Warp Terminal

choco install warp -y

6. Installing Arc Browser

Search for Arc in Chocolatey:

choco search arc

If unavailable, download it from the official website.


Working in GitHub Codespaces

  1. Open your repository in GitHub.

  2. Click Code > Codespaces.

  3. Click Continue Working in GitHub Codespace.

  4. Select an instance type based on your project needs:

    • Basic: Suitable for lightweight projects.

    • Standard: Recommended for most web and mobile development.

    • Performance: For complex builds or heavy computation.


This guide ensures a smooth setup experience for GitHub, Git, Homebrew (macOS), Chocolatey (Windows), and essential development tools. 🚀

Get all links 👉 https://bit.ly/primary-dev-setup