-------------------------------------------------------------------------------
openai codex CLI 

    - 설치
npm install -g @openai/codex

     - 업데이트
call npm i -g @openai/codex 


     - 확인
where codex  
npm list -g --depth=0 @openai/codex

     - 삭제
npm uninstall -g @openai/codex

rmdir /s /q %LOCALAPPDATA%\Programs\OpenAI\Codex\bin
rmdir /s /q %USERPROFILE%\.codex\packages\standalone

     - 확인
Get-Command codex -ErrorAction SilentlyContinue

 

-------------------------------------------------------------------------------
claude code 

     - 설치
- 네이티브 설치 권장 : 사용자 권한 권장
irm https://claude.ai/install.ps1 | iex
- 실행 파일 : %USERPROFILE%\.local\bin\claude.exe

- npm 설치 권장 안함 : 설치 경로가 다름
npm install -g @anthropic-ai/claude-code
- 실행 파일 : C:\nvm4w\nodejs\claude.cmd


     - 업데이트
claude update

          - 최신 버전으로 강제 업데이트
claude install latest 
또는 설치 명령(irm https://claude.ai/install.ps1 | iex)


     - 설치 확인
where claude

     - 삭제
npm uninstall -g @anthropic-ai/claude-code 

winget uninstall Anthropic.ClaudeCode

del /s /q "%USERPROFILE%\.local\bin\claude.exe" 
rmdir /s /q "%USERPROFILE%\.local\share\claude" 


     - 삭제 확인
Get-Command claude -ErrorAction SilentlyContinue

 

-------------------------------------------------------------------------------

github copilot cli 

     - 설치
winget install GitHub.Copilot
          - winget 에러 발생시 : 
               - Windows ZipFolders 기능이 비활성 된 경우 에러 발생
               - 설치 에러 해결 방법 : 해제 방법에 tar 추가
%LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
"installBehavior": {
        "archiveExtractionMethod": "tar"
    }


     - 업데이트
copilot update

     - 삭제
winget uninstall GitHub.Copilot
npm uninstall -g @github/copilot

where copilot
rm 실행파일경로

 


-------------------------------------------------------------------------------
grok CLI 

     - 설치 방법
irm https://x.ai/cli/install.ps1 | iex

     - 업데이트
grok update


     - 삭제
where grok

npm uninstall -g @xai-official/grok

rmdir /s /q "%USERPROFILE%\.grok\bin"
rmdir /s /q "%USERPROFILE%\.grok\downloads"
rmdir /s /q "%USERPROFILE%\.grok\completions"

-------------------------------------------------------------------------------

Cursor CLI

 

 

 

반응형
Posted by codens