DEV Community

Alex Spinov
Alex Spinov

Posted on

Taze Has a Free Dependency Update Tool — Here's How to Use It

npm outdated shows you what's old. Then you manually update each one. Taze shows outdated dependencies AND updates them — interactively or automatically, with major/minor/patch filters.

What Is Taze?

Taze is a modern CLI to keep your npm dependencies fresh. It shows a beautiful diff of all outdated packages and lets you update them selectively.

Quick Start

npx taze
Enter fullscreen mode Exit fullscreen mode

Output:

  Package                Current  Target   Latest
  ──────────────────────────────────────────────────
  typescript             5.3.3    5.4.5    5.4.5     minor
  @types/node            20.11.5  20.14.2  22.0.0    major
  eslint                 8.56.0   8.57.0   9.5.0     major
  vitest                 1.2.0    1.6.0    2.0.0     major
  react                  18.2.0   18.3.1   19.0.0    major

  Run taze -w to write updates to package.json
  Run taze major -w to include major updates
Enter fullscreen mode Exit fullscreen mode

Update Modes

# Show outdated (default — no changes)
npx taze

# Write minor+patch updates to package.json
npx taze -w

# Include major updates
npx taze major -w

# Interactive mode — choose which to update
npx taze -i

# Only patch updates (safest)
npx taze patch -w
Enter fullscreen mode Exit fullscreen mode

Monorepo Support

# Update all packages in monorepo
npx taze -r

# Interactive for monorepo
npx taze -r -i
Enter fullscreen mode Exit fullscreen mode

Works with npm workspaces, pnpm workspaces, and yarn workspaces.

Configuration

// taze.config.ts or package.json
{
  "taze": {
    "exclude": ["webpack", "react"],
    "mode": "minor",
    "write": false
  }
}
Enter fullscreen mode Exit fullscreen mode

Why Taze Over Alternatives

Feature Taze npm outdated npm-check
Visual diff Yes Basic Yes
Auto-update Yes No Yes
Interactive Yes No Yes
Monorepo Yes No No
Major filter Yes No No
Speed Fast Slow Slow
No install needed npx taze Built-in npm i -g

CI Integration

- name: Check for outdated deps
  run: npx taze --fail-if-update
Enter fullscreen mode Exit fullscreen mode

Get Started

  • GitHub — 3K+ stars
  • Run npx taze in any project

Keeping your scraping tools updated? My Apify actors are always current. Custom solutions: spinov001@gmail.com

Top comments (0)