İçeriğe geç
TakoAPI
Becerilere dön

npkill

ashirbadgudu tarafından

Calendar & Scheduling
1.8kİndirme sayıları clawskills.sh tarafından bildirilir
0Görüntülenmeler
0 beğeniBu beceriyi beğenmek için giriş yapın
—Henüz değerlendirilmedi
Puanınız

Özet

Clean up node_modules and .next folders to free up disk space using npkill.

Açıklama

Bu Beceri Ne Yapar

npkill scans your filesystem for node_modules and .next folders, displays their sizes, and lets you delete them interactively or automatically. It targets build artifacts that accumulate across JavaScript and Next.js projects over time.

Manually hunting down node_modules with find commands shows no size info and misses nested folders; npkill lists everything with sizes and supports selective deletion in one pass.

Ne Zaman Kullanılır

  • Freeing disk space before a large system update
  • Clearing out old side projects no longer in active development
  • Removing stale .next build caches after upgrading Next.js
  • Finding which projects have the largest node_modules folders
  • Running a weekly cleanup of the local development workspace

Örnek İş Akışı

GİRİŞ

User asks: Clean up old node_modules folders taking up space on my machine

AJAN
  1. 1

    Run npkill --dry-run to preview all node_modules folders and their sizes without deleting anything

  2. 2

    Review the list and identify which projects are safe to clean

  3. 3

    Run npkill in interactive mode to browse folders and mark selections for deletion

  4. 4

    Confirm deletions using the interactive interface

ÇIKIŞ

Selected node_modules folders removed, with disk space freed reported per deletion

Gereksinimler

  • npkill CLI installed globally (npm install -g npkill)

Kurulum

clawhub install ashirbadgudu/npkill

CLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.

Bağlantılar