setup

Install, authenticate, and verify the GitHub CLI on multiple operating systems.

Updated Feb 17, 2026
One-click install
npx skills add https://github.com/filipowm/claude-plugins --skill setup-filipowm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup
Source: https://github.com/filipowm/claude-plugins/tree/main/plugins/github/skills/setup
Command: npx skills add https://github.com/filipowm/claude-plugins --skill setup-filipowm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the installation, authentication, and verification of the GitHub Command Line Interface (gh), ensuring you can interact with GitHub repositories and APIs seamlessly.

Core Features & Use Cases

  • Automated Installation: Detects your operating system and installs gh using the appropriate package manager.
  • Effortless Authentication: Guides you through the gh auth login process, including browser-based OAuth for secure authentication.
  • Verification: Confirms successful installation and authentication by checking the gh version and your GitHub username.
  • Use Case: When setting up a new development environment or troubleshooting authentication issues, this Skill provides a one-stop solution to get gh ready to use.

Quick Start

Run the setup skill to install and authenticate the GitHub CLI.

Frequently Asked Questions about setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install the GitHub CLI on macOS and Linux?

GitHub CLI installation detects your operating system and installs gh using the appropriate package manager for macOS, Ubuntu, Fedora, and Arch Linux. It automates the entire process so you can interact with GitHub repositories seamlessly.

How do I authenticate the GitHub CLI with a browser?

GitHub CLI authentication uses gh auth login to initiate a browser-based OAuth flow for secure access. This guides you through connecting your account without manually creating personal access tokens.

Can I set up gh on Windows using this approach?

Yes, GitHub CLI setup supports Windows alongside macOS and various Linux distributions. It handles platform-specific installation commands to ensure gh is installed correctly on your system.

How do I verify my GitHub CLI installation and authentication status?

Verify GitHub CLI setup by checking gh auth status and querying gh api user. This confirms that both the installation succeeded and your GitHub account authentication is active.

What's the best way to troubleshoot GitHub CLI authentication issues?

Troubleshooting GitHub CLI authentication involves running the setup process to re-initiate the gh auth login browser flow. It verifies your current status using gh auth status to identify and resolve connection problems.