Skip to main content
GitResolve ships as a single npm package (@clyrisai/gitresolve) that covers both the CLI and the programmatic API. You can run it immediately with npx, install it globally for persistent CLI access, or add it as a dependency in your Node.js project. TypeScript types are bundled — no separate @types package is required.

Requirements

GitResolve requires Node.js >= 18.0.0. Check your version before installing:
No other system dependencies are required for the fetch or Puppeteer providers. Puppeteer is bundled as a direct dependency and installed automatically. For the Browserless provider, you will need a running Docker container — see the Browser Providers guide.

Zero-Install with npx

Run GitResolve on-demand without a permanent installation. This is the fastest way to try it:
The npx approach is ideal for one-off lookups or CI jobs where you don’t want to manage a global install. npx will always pull the latest published version.

Global Install

Install globally to make the gitresolve command available in any directory:
After installation, verify it’s working:
Puppeteer is bundled as a dependency in the package, so it installs automatically for project-level installs via npm. For global installs, Puppeteer’s browser binaries may not be downloaded automatically depending on your npm configuration. If you see errors about a missing Chromium executable when processing JavaScript-heavy portfolio sites, run npm install -g puppeteer to install it alongside GitResolve.

Project Dependency

To use the programmatic API inside your own application, install @clyrisai/gitresolve as a project dependency:
Then import the functions you need:

TypeScript Support

TypeScript types are included in the package at ./dist/index.d.ts. No @types/gitresolve package is needed — types work out of the box after install. All types, values, and functions exported from @clyrisai/gitresolve:

Browser Providers

GitResolve’s browser provider is used when scraping portfolio websites and git profile pages. The createProvider() function auto-selects the best available provider using this resolution order: puppeteer → browserless → fetch. Puppeteer is included as a bundled dependency, so it is available automatically for project-level installs. For global installs, you may need to install it separately if JavaScript rendering is needed.
You can also set the preferred provider for the programmatic API:
See the Browser Providers guide for Browserless Docker setup instructions.

Environment Variables

GitResolve reads several environment variables to configure runtime behavior. All of them are optional and have sensible defaults. You can set these in a .env file, in your shell profile, or inline before the command:

Verify Your Installation

After installing globally, run these two commands to confirm everything is set up correctly:
You should see the version number (0.1.0) and the full usage output listing all available flags and options.
If gitresolve is not found after a global install, your npm global bin directory may not be on your PATH. Run npm bin -g to find the directory and add it to your shell profile (~/.bashrc, ~/.zshrc, etc.).