Installation
Prerequisites
Before installing GitHub Extractor CLI, you need to have the following installed:
- Node.js (version 18 or higher)
- GitHub CLI (
gh)
Installing Node.js
Download and install Node.js from nodejs.org. Make sure to install version 18 or higher.
Installing GitHub CLI
Follow the official installation guide for your platform:
- Windows:
winget install GitHub.clior download from cli.github.com - macOS:
brew install ghor download from cli.github.com - Linux: Follow the installation instructions
After installing GitHub CLI, authenticate with your GitHub account:
bash
gh auth loginInstalling GitHub Extractor CLI
Global Installation (Recommended)
Install the tool globally using npm:
bash
npm install -g ghextractorLocal Installation
You can also install it locally in a project:
bash
npm install ghextractorVerifying Installation
Check that the tool is installed correctly:
bash
ghextractor --versionYou can also check your GitHub CLI setup:
bash
ghextractor --checkThis will verify that GitHub CLI is installed and you're authenticated.