Skip to main content

Quickstart

Prerequisites

  • Node.js 18 or higher
  • A JavaScript/TypeScript project with a package.json

Installation

Option 1: Use npx (no install)

Option 2: Install globally

Then run:

Step 1: Run DepFixer

Open your terminal in your project directory and run depfixer (or npx depfixer).

Step 2: Review the Analysis

DepFixer will display the ASCII logo and scan your dependencies:

Step 3: Review Issues

For smaller issue counts, you’ll see a severity breakdown:

Step 4: Unlock Solutions

If issues are found, you’ll see a cost box:
Press Enter to proceed.

Step 5: Authenticate

First-time users will see the device code flow:
Enter the code in your browser to authenticate.

Step 6: Apply Fixes

Once authenticated with sufficient credits, you’ll see the full solution:
Press Enter to apply.

Step 7: Done!

Run npm install to install the updated dependencies.

Other Ways to Use DepFixer

GitHub Action

Automatically check dependencies on every pull request:
.github/workflows/depfixer.yml
See the GitHub Action guide for full configuration options.

MCP Server (AI IDE Integration)

Use DepFixer tools directly in Claude Code, Cursor, or Windsurf:
Then ask your AI assistant: “Analyze my package.json for dependency issues” See the MCP Server guide for setup instructions.