프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. Google로 로그인하면 리뷰를 쓸 수 있어요.프로토타입 · 30분마다 업데이트
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요 로그인

cleaninstall-node

제작자: ahusan버전 3.4.1i★ 0i내 컴퓨터에서 실행공식 사이트 ↗

설치 방법

할 수 있는 일

Diagnose and fix broken Node.js/Deno installs instead of rm -rf node_modules and the lockfile

제작자가 쓴 원문

  • 연결 방식 내 컴퓨터에서 실행
  • 계정 또는 키 키 필요 없음
  • 분류 기타

이 순위인 이유

목록은 사용 점수(100점 만점)로 정렬되며 구성은 다음과 같습니다

인기0/80GitHub 별 또는 주간 다운로드: 큰 쪽 60, 작은 쪽 20
최신성12/1230일 안에 릴리스나 코드 변경이 있으면 만점
응답 중0/8마지막 점검 때 클라우드 엔드포인트가 응답
사용 점수12/100

품질: 기본 점검 3/3개 통과(표시만, 정렬에는 안 씀) · 상승세: 데이터 없음 (급상승 탭에서만 사용)

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

한 문장으로 AI에게 설치 맡기기

cleaninstall-node 설치해 줘. https://mcp.popnx.com/i/ahusan-cleaninstall-node.md 를 따라 하고, 명령을 먼저 보여 주고 내가 승인하면 실행해.

내 컴퓨터에서 작업하는 AI(Claude Code, Cursor 등)에 붙여 넣으세요. 단계를 읽고 명령을 보여 준 뒤 승인을 기다립니다. 키도 가입도 필요 없습니다. · AI가 읽을 전체 내용 보기

검사 3/3 통과 · 내 컴퓨터에서 실행돼요 · ✓ 명령 확인 2026년 11월 25일

먼저: 어떤 AI를 쓰시나요?

쓰는 앱을 고르면 아래에 단계가 나옵니다.

Claude에 연결할 수 있지만 먼저 준비가 필요해요

먼저 컴퓨터에 Node.js를 설치하세요 (한 번만) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요

AI에게 설치 맡기기

이 메시지를 Claude 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.

이 컴퓨터의 Claude에 MCP server cleaninstall-node을 설치해 주세요. 순서대로: 1) node -v로 Node.js가 있는지 확인. 없으면 https://nodejs.org/en/download에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): { "mcpServers": { "cleaninstall-node": { "command": "npx", "args": [ "-y", "cleaninstall-node", "mcp" ] } } } 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) 키는 필요 없습니다. 5) 합의한 대로 실행한 뒤 cleaninstall-node의 도구가 실제로 보이는지 확인하세요.

이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.

  1. Node.js 설치 (아직 없다면)

    이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter

    node -v
    • 버전 번호(예: v26.13.1)가 나오면 설치된 것입니다. 이 단계는 건너뛰세요
    • "command not found"(Windows는 "is not recognized")가 나오면 아직 설치하지 않았거나, 방금 설치해서 터미널을 닫았다가 다시 열어야 합니다
    터미널 여는 법

    Mac: ⌘ + Space를 누르고 Terminal 입력 후 Enter

    Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"

    아직 설치하지 않았다면: 공식 다운로드 페이지에서 LTS 버전과 클릭형 설치 파일을 고르세요: Mac은 .pkg · Windows는 .msi. 더블클릭 후 끝까지 진행하면 됩니다. curl 명령은 필요 없습니다

    Node.js 다운로드 페이지 열기 ↗

    설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: node -v

    한 번 설치하면 Node.js가 필요한 모든 도구에서 쓸 수 있습니다

  2. 컴퓨터용 Claude 앱 설정 파일 열기

    SettingsDeveloperEdit Config

  3. 이 설정을 붙여 넣고 저장

    {
      "mcpServers": {
        "cleaninstall-node": {
          "command": "npx",
          "args": [
            "-y",
            "cleaninstall-node",
            "mcp"
          ]
        }
      }
    }
  4. Claude를 끄고 다시 열기

  5. 해 보기

    cleaninstall-node을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude가 cleaninstall-node을 쓰고 있다고 하거나 답에 cleaninstall-node 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

ChatGPT는 아직 cleaninstall-node에 연결할 수 없어요

cleaninstall-node는 내 컴퓨터에 설치해서 쓰지만 ChatGPT는 웹에서 도는 서버만 연결할 수 있어요

대신 이렇게 할 수 있어요

A · cleaninstall-node에 연결되는 앱 쓰기

  • 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요
  • 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
  • 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
  • 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)

B · 기타에서 ChatGPT에 연결되는 다른 서버

같은 분류에서 많이 쓰는 것 중 키 없이 주소만으로 연결되는 것을 골랐어요

Claude Code에 연결할 수 있지만 먼저 준비가 필요해요

먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)

AI에게 설치 맡기기

이 메시지를 Claude Code 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.

이 컴퓨터의 Claude Code에 MCP server cleaninstall-node을 설치해 주세요. 순서대로: 1) node -v로 Node.js가 있는지 확인. 없으면 https://nodejs.org/en/download에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): claude mcp add --scope user cleaninstall-node -- npx -y cleaninstall-node mcp 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) 키는 필요 없습니다. 5) 합의한 대로 실행한 뒤 cleaninstall-node의 도구가 실제로 보이는지 확인하세요.

이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.

  1. Node.js 설치 (아직 없다면)

    이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter

    node -v
    • 버전 번호(예: v26.13.1)가 나오면 설치된 것입니다. 이 단계는 건너뛰세요
    • "command not found"(Windows는 "is not recognized")가 나오면 아직 설치하지 않았거나, 방금 설치해서 터미널을 닫았다가 다시 열어야 합니다
    터미널 여는 법

    Mac: ⌘ + Space를 누르고 Terminal 입력 후 Enter

    Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"

    아직 설치하지 않았다면: 공식 다운로드 페이지에서 LTS 버전과 클릭형 설치 파일을 고르세요: Mac은 .pkg · Windows는 .msi. 더블클릭 후 끝까지 진행하면 됩니다. curl 명령은 필요 없습니다

    Node.js 다운로드 페이지 열기 ↗

    설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: node -v

    한 번 설치하면 Node.js가 필요한 모든 도구에서 쓸 수 있습니다

  2. 터미널 열기

    Mac: Command+스페이스를 누르고 Terminal 입력 · Windows: PowerShell 열기

  3. 이 명령을 붙여 넣고 Enter

    claude mcp add --scope user cleaninstall-node -- npx -y cleaninstall-node mcp
  4. Claude Code에서 /mcp 입력

    cleaninstall-node이 목록에 있고 연결됨으로 보이면 돼요

  5. 해 보기

    cleaninstall-node을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude Code가 cleaninstall-node을 쓰고 있다고 하거나 답에 cleaninstall-node 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Cursor에 연결할 수 있지만 먼저 준비가 필요해요

먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)

AI에게 설치 맡기기

이 메시지를 Cursor 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.

이 컴퓨터의 Cursor에 MCP server cleaninstall-node을 설치해 주세요. 순서대로: 1) node -v로 Node.js가 있는지 확인. 없으면 https://nodejs.org/en/download에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): { "mcpServers": { "cleaninstall-node": { "command": "npx", "args": [ "-y", "cleaninstall-node", "mcp" ] } } } 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) 키는 필요 없습니다. 5) 합의한 대로 실행한 뒤 cleaninstall-node의 도구가 실제로 보이는지 확인하세요.

이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.

  1. Node.js 설치 (아직 없다면)

    이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter

    node -v
    • 버전 번호(예: v26.13.1)가 나오면 설치된 것입니다. 이 단계는 건너뛰세요
    • "command not found"(Windows는 "is not recognized")가 나오면 아직 설치하지 않았거나, 방금 설치해서 터미널을 닫았다가 다시 열어야 합니다
    터미널 여는 법

    Mac: ⌘ + Space를 누르고 Terminal 입력 후 Enter

    Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"

    아직 설치하지 않았다면: 공식 다운로드 페이지에서 LTS 버전과 클릭형 설치 파일을 고르세요: Mac은 .pkg · Windows는 .msi. 더블클릭 후 끝까지 진행하면 됩니다. curl 명령은 필요 없습니다

    Node.js 다운로드 페이지 열기 ↗

    설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: node -v

    한 번 설치하면 Node.js가 필요한 모든 도구에서 쓸 수 있습니다

  2. 이 버튼으로 Cursor 열기

    Cursor에서 열기

    Cursor가 설치를 확인하면 Install을 누르세요

  3. Cursor에서 AI 채팅을 Agent 모드로 열기

  4. 해 보기

    cleaninstall-node을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Cursor가 cleaninstall-node을 쓰고 있다고 하거나 답에 cleaninstall-node 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Cursor 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

VS Code에 연결할 수 있지만 먼저 준비가 필요해요

먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)

AI에게 설치 맡기기

이 메시지를 VS Code 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.

이 컴퓨터의 VS Code에 MCP server cleaninstall-node을 설치해 주세요. 순서대로: 1) node -v로 Node.js가 있는지 확인. 없으면 https://nodejs.org/en/download에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): { "servers": { "cleaninstall-node": { "type": "stdio", "command": "npx", "args": [ "-y", "cleaninstall-node", "mcp" ] } } } 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) 키는 필요 없습니다. 5) 합의한 대로 실행한 뒤 cleaninstall-node의 도구가 실제로 보이는지 확인하세요.

이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.

  1. Node.js 설치 (아직 없다면)

    이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter

    node -v
    • 버전 번호(예: v26.13.1)가 나오면 설치된 것입니다. 이 단계는 건너뛰세요
    • "command not found"(Windows는 "is not recognized")가 나오면 아직 설치하지 않았거나, 방금 설치해서 터미널을 닫았다가 다시 열어야 합니다
    터미널 여는 법

    Mac: ⌘ + Space를 누르고 Terminal 입력 후 Enter

    Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"

    아직 설치하지 않았다면: 공식 다운로드 페이지에서 LTS 버전과 클릭형 설치 파일을 고르세요: Mac은 .pkg · Windows는 .msi. 더블클릭 후 끝까지 진행하면 됩니다. curl 명령은 필요 없습니다

    Node.js 다운로드 페이지 열기 ↗

    설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: node -v

    한 번 설치하면 Node.js가 필요한 모든 도구에서 쓸 수 있습니다

  2. 이 버튼으로 VS Code 열기

    VS Code에서 열기

    VS Code가 설치를 확인하면 Install을 누르세요

  3. VS Code에서 AI 채팅을 Agent 모드로 열기

  4. 해 보기

    cleaninstall-node을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ VS Code가 cleaninstall-node을 쓰고 있다고 하거나 답에 cleaninstall-node 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Windsurf, Zed, Gemini CLI 같은 다른 MCP 앱은 추가 방법이 저마다 달라요. 앱 목록에서 확인하세요

MCP를 쓰는 앱 모두 보기 →

JSON 설정은 아래 “개발자용”에 있어요

막혔나요? cleaninstall-node을 쓰는 사람에게 물어보세요💬 토론 →
개발자용: 터미널 명령과 JSON 설정

컴퓨터에 설치

Claude Code

claude mcp add --scope user cleaninstall-node -- npx -y cleaninstall-node mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "cleaninstall-node": {
      "command": "npx",
      "args": [
        "-y",
        "cleaninstall-node",
        "mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "cleaninstall-node": {
      "command": "npx",
      "args": [
        "-y",
        "cleaninstall-node",
        "mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "cleaninstall-node": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "cleaninstall-node",
        "mcp"
      ]
    }
  }
}

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

한눈에 보기

레지스트리 이름
io.github.ahusan/cleaninstall-node
주간 다운로드i
20/주
연결 방식
내 컴퓨터에서 실행
최신 버전i
3.4.1
카테고리i
기타
레지스트리 공개i
2026년 11월 25일
코드 마지막 변경i
2026년 11월 25일
제작자
ahusan
패키지
npm: cleaninstall-node
레지스트리 상태
활성

어떤 앱에서 쓸 수 있나요

이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.

내 컴퓨터에서 실행하는 앱

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

모든 앱과 장단점 →

할 수 있는 일

내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 26일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 GitHub 계정 ahusan 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요

  • ✓ 통과

    계속 관리되고 있음

    코드 마지막 변경: 어제

  • ✓ 통과

    라이선스 있음

    MIT 사용

  • – 해당 없음

    엔드포인트 응답

    내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요

  • – 해당 없음

    OAuth로 로그인

    내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요

공개된 취약점 (OSV.dev)

OSV.dev에 cleaninstall-node@3.4.1 항목이 없습니다

이 버전의 패키지 자체만 확인하며 모든 의존성은 아닙니다 · 확인 2026년 11월 25일

우리가 확인하는 것 → · JSON

제작자: 재확인 요청 또는 잘못된 정보 신고
제작자용: README에 배지 달기

제작자라면 이 코드를 README에 붙여 넣으세요. 배지는 이 페이지로 연결됩니다.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/ahusan-cleaninstall-node.svg)](https://mcp.popnx.com/en/servers/ahusan-cleaninstall-node)

토론

질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.

아직 글이 없어요. 처음으로 질문하거나 공유해 보세요.

이곳의 글은 사용자가 쓴 것으로, PopNx 팀의 글이 아니에요.

로그인하고 글쓰기

사용자 리뷰

아직 리뷰가 없어요

로그인하고 리뷰 쓰기

기타 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 22222개 중 0%보다 스타가 많아요
  • 이 카테고리의 다른 서버 22222개 중 98%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 22222개 중 99%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

cleaninstall-node, 안전한가요?

해당하는 기본 점검 3개 중 3개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 어제 변경됐고, 최신 버전(3.4.1)은 어제 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu

비슷하게 동작하는 다른 것

같은 카테고리, 다른 제작자, 명령 확인 완료. 공식이 먼저, 그다음 스타 순.

카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.

제작자: koala73널리 사용됨★ 9.1만10일 전 업데이트

바로 연결 (URL 있음) · 로그인 필요✓ 서비스 회사 · worldmonitor.app

openstatus

Manage monitors, status pages, incidents and maintenances in your openstatus workspace.

제작자: openstatusHQ널리 사용됨★ 9.3천3개월 전 업데이트

바로 연결 (URL 있음) · 로그인 필요✓ 서비스 회사 · openstatus.dev

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

제작자: JanDeDobbeleer널리 사용됨★ 2.4만 저장소 전체의 별37일 전 업데이트

바로 연결 (URL 있음)도구 2개 · 가벼움✓ 서비스 회사 · ohmyposh.dev

Strata

MCP server for progressive tool usage at any scale (see https://klavis.ai)

제작자: Klavis-AI성장 중★ 5.8천14개월 전 업데이트

바로 연결 (URL 있음) · 키 필요저장소 보관됨✓ klavis.ai

Jitsu

Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.

제작자: jitsucom널리 사용됨★ 5.1천4개월 전 업데이트

바로 연결 (URL 있음) · 로그인 필요✓ 서비스 회사 · jitsu.com
비슷한 항목과 비교
이 항목
cleaninstall-node
World MonitoropenstatusOh My Posh ValidatorStrataJitsu
실행 위치컴퓨터에 설치 필요클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요
키 필요아니요아니요아니요아니요아니요아니요
Claude에서 +로 추가아니요아니요아니요아니요아니요아니요
기본 점검3/34/44/44/41/44/4
라이선스MITAGPL-3.0AGPL-3.0MITApache-2.0MIT
가격등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

CleanInstall Node

Stop deleting `node_modules` blindly. cleaninstall-node finds out *why* an install is broken and applies the smallest fix, warns you right after a git pull changes your dependencies, and cleans safely when you really do want a fresh start. Works with npm, pnpm, yarn, bun and Deno, in single projects and monorepos.

[Website](https://cleaninstall-node.ahusan.dev/) · npm · Changelog

npx cleaninstall-node doctor         # what's wrong? (and --fix to repair it)

npm run dev 2>&1 | npx cleaninstall-node doctor --from-error # explain this error npx cleaninstall-node hook install # warn after pull/checkout/rebase npx cleaninstall-node --install # clean + reinstall, safely

Using an AI coding agent? Give it the MCP server so it diagnoses broken installs instead of running rm -rf node_modules package-lock.json:

claude mcp add cleaninstall -- npx -y cleaninstall-node mcp   # tools for the agent

npx cleaninstall-node agent install # guidance + a guard hook

Upgrading from 2.x? Lockfiles are now kept unless you pass --lockfiles, the CLI asks once before deleting (use -y in scripts), and Node.js 20+ is required. See the changelog.

Features

  • Removes common clutter (node_modules, build output, etc.)
  • Workspace Aware: Automatically detects workspaces defined in package.json or pnpm-workspace.yaml.
  • Glob Pattern Support: Use glob patterns (e.g., *.log, dist-*) in configuration for flexible matching.
  • Dry Run Mode: See what would be deleted without actually removing anything.
  • `doctor`: Diagnoses *why* an install is broken (stale lockfile, wrong Node, native ABI mismatch, mixed package managers) and applies the smallest fix.
  • `doctor --from-error`: Paste or pipe an error; get what it means for *this* project and the fix.
  • Agent setup: agent install adds guidance to AGENTS.md / CLAUDE.md and a Claude Code hook that blocks rm -rf node_modules and lockfile deletion.
  • MCP server for AI agents: Claude Code, Cursor, VS Code and others can diagnose and fix installs through structured tools.
  • Git hook: Warns (or reinstalls) right after a pull, branch switch or rebase changes your dependencies.
  • Safe by default: Shows what will be removed and asks once before deleting (skip with -y). Lockfiles are kept unless you pass --lockfiles.
  • Interactive Mode: Confirm each deletion individually.
  • Auto-Install: Runs npm, yarn, pnpm or bun install after cleanup, detected from the packageManager field or your lockfile.
  • Configurable via CLI, package.json, or .cleaninstallnoderc.

Why CleanInstall Node?

Compared to manual deletion or other tools:

  • vs `rm -rf node_modules && npm install`: Workspace-aware, handles monorepos automatically, safer with dry-run mode
  • vs `npx rimraf`: Built-in monorepo support, auto-reinstall, interactive mode, glob patterns
  • vs manual deletion: Cross-platform, configurable, preview before deletion, handles multiple workspaces

Quick Start

# Clean and reinstall dependencies in one command

npx cleaninstall-node --install

Full reset, including lockfiles (resolves fresh dependency versions!)

npx cleaninstall-node --lockfiles --install

Non-interactive (CI / scripts): skip the confirmation prompt

npx cleaninstall-node -y

Preview what would be deleted (dry run)

npx cleaninstall-node --dry-run

Interactive mode - confirm each deletion

npx cleaninstall-node -i

doctor: find out *why* before you delete

Most "nuke node_modules" moments have a specific cause. doctor finds it and applies the smallest fix that works:

npx cleaninstall-node doctor          # diagnose

npx cleaninstall-node doctor --fix # apply the smallest fix npx cleaninstall-node doctor --json # machine-readable, exit code 1 on errors

🩺 cleaninstall-node doctor — ~/code/app (npm)

✖ node_modules is out of sync with package-lock.json (1 difference) ms: installed 2.1.3, lockfile 2.1.2 Usually happens after git pull / switching branches without reinstalling. ✖ 1 native module was built for a different Node version better-sqlite3: built for ABI 115, this Node needs 127 ✔ Node v22.11.0 matches .nvmrc (22)

2 errors, 0 warnings.

Smallest fix (run with --fix to apply): → npm install → npm rebuild better-sqlite3

CheckDetectsFix
Node versionRunning Node vs .nvmrc, .node-version, .tool-versions, volta.node, engines.nodeManual (nvm use). Blocks --fix so nothing is rebuilt for the wrong Node
Lockfile syncnode_modules doesn't match the lockfile, e.g. after a git pull (npm, pnpm, yarn v1)install
Direct dependenciesA dependency is missing or installed outside its package.json range (all package managers, workspaces included)install
Native modulesA .node addon was built for another Node ABI, or for another OS/CPU (Docker volume, Rosetta)rebuild
Installernode_modules was written by a different package manager than the project usesremove node_modules + install
LockfilesMore than one package manager's lockfile, a mismatch with packageManager, no lockfile at allManual
pnpm buildspnpm 10 skipped a package's build scripts (ignoredBuilds)Manual (pnpm approve-builds)
yarn systemyarn v1 installed under a different Node ABI or platforminstall

Native addons are loaded in a separate short-lived process, so a crashing addon can't take doctor down. Skip that check with --no-native.

Paste the error: --from-error

Start from the error you actually got. doctor --from-error explains what it means for this project and folds it into the fix plan:

npm run dev 2>&1 | npx cleaninstall-node doctor --from-error     # pipe it in

npx cleaninstall-node doctor --from-error "Cannot find module 'axios'" npx cleaninstall-node doctor --from-error --fix # and fix it

🩺 cleaninstall-node doctor --from-error — ~/code/app (npm)

What the error means ✖ axios is in package.json but not installed axios (^1.7.0) is declared, but node_modules doesn't have it: the install is missing or out of date.

In this project ✖ 2 dependencies are not installed ← likely related ✔ 1 other check passed

Smallest fix (run with --fix to apply): → npm install

The same error can need different fixes. Cannot find module 'x' gets a different answer when x is declared but not installed (install it), only present through another package (add it to package.json), installed at the wrong version, a relative import (a code problem, so no reinstall), or a Node built-in. Recognised errors:

ErrorExampleWhat it suggests
Native module, wrong NodeNODE_MODULE_VERSION 115 … requires 127Rebuild that one package
Native module, wrong OS/CPUinvalid ELF headerRebuild that package, and stop sharing node_modules with Docker
Platform binary missingrollup, esbuild, sharp, swc …-linux-x64Clean reinstall
Module not foundNode CJS/ESM, Vite, webpack, Next.js, TS2307Depends on the project (see above)
Command not foundsh: vite: not found, 'tsc' is not recognizedInstall, npx, or which package to add
ESM-only packageERR_REQUIRE_ESMNewer Node, import(), or pin the old major
Subpath not exportedERR_PACKAGE_PATH_NOT_EXPORTEDCheck the installed major
Lockfile out of syncnpm ci, ERR_PNPM_OUTDATED_LOCKFILE, yarn --frozen-lockfileInstall locally and commit the lockfile
Peer conflictERESOLVEAlign versions (--legacy-peer-deps only as a last resort)
Wrong Node for a dependencyEBADENGINE, yarn/pnpm engine errorsSwitch Node (blocks --fix)
Wrong package managerCorepack mismatch, npm on workspace:Use the declared package manager
Broken installENOTEMPTY, interrupted installsClean reinstall
OtherEINTEGRITY, EACCES, disk full vs. file-watcher ENOSPC, gyp ERR!Specific steps

With --json, the report includes error.matches for agents and scripts. An error it doesn't recognise still gets the normal doctor checks.

Use it from AI agents (MCP)

When an install breaks, AI coding agents tend to run rm -rf node_modules package-lock.json && npm install. That throws away the lockfile, quietly upgrades dependencies, and often doesn't fix the real cause. cleaninstall-node mcp is a Model Context Protocol server that gives the agent the diagnosis and the smallest fix instead.

It's listed on the official MCP Registry as io.github.ahusan/cleaninstall-node and on Glama.

ToolWhat it doesChanges files
explain_errorExplains an error message for this project (everything --from-error knows) and returns a fix planNo
diagnoseFull doctor health check and fix planNo
apply_fixRuns the plan: targeted rebuild, install, or (rarely) a clean reinstall. Never touches lockfilesYes
plan_cleanLists what a cleanup would delete, with sizesNo
cleanDeletes exactly what plan_clean listed; can reinstallYes

Built-in safety:

  • Plans must be shown first. apply_fix and clean only run with the plan_id from a preceding read-only call. If the project changed in between, they refuse and the agent has to re-plan, so it can't delete or install something nobody was shown.
  • Hard limits. The tools refuse to run on /, your home folder, or a folder without a package.json. Lockfiles are only removed when asked, and fixes are blocked while you're on the wrong Node version.
  • Guidance for the agent. The server's instructions tell it to call explain_error before deleting node_modules.
  • No extra install weight. The server adds no runtime dependencies.
Setup

Claude Code (add --scope project to share it with your team via .mcp.json):

claude mcp add cleaninstall -- npx -y cleaninstall-node mcp

Cursor (.cursor/mcp.json), Windsurf, Claude Desktop (claude_desktop_config.json) and other clients using the mcpServers format:

{

"mcpServers": { "cleaninstall": { "command": "npx", "args": ["-y", "cleaninstall-node", "mcp"] } } }

VS Code (.vscode/mcp.json):

{

"servers": { "cleaninstall": { "type": "stdio", "command": "npx", "args": ["-y", "cleaninstall-node", "mcp"] } } }

Tools default to the folder the client starts the server in, which is normally your project. Every tool also takes a dir argument, and mcp --dir changes the default; use one of these with clients that don't start in a project, such as Claude Desktop. On Windows, if a client can't find npx, use `"command": "cmd", "args": ["/c", "npx", "-

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요