gitmyhub

claude-code-desktop-offline

PowerShell ★ 45 updated 14d ago

Claude Code 桌面版离线安装包

Windows batch and PowerShell scripts that install the Claude Desktop app offline from a bundled installer, and uninstall it more completely than the official uninstaller by removing leftover virtual machine files.

PowerShellBatch/CMDsetup: easycomplexity 1/5

This project is a small collection of Windows scripts that handle installing and uninstalling the Claude Desktop application, which is the official Windows app from Anthropic for the Claude AI assistant. The README is written in Chinese, and the tool is aimed at users who want a simple way to install the app without using the command line.

The key feature is offline installation. When you download the release zip from this repository, it already includes the installer file inside it, so you do not need an internet connection at install time. To install, you unzip the archive and double-click a batch file. Windows will ask for administrator permission, and the script handles the rest. After installation, a restart is required before the app appears in the Start menu, which the documentation emphasizes clearly.

The uninstall script goes further than the standard Windows uninstaller. It cleans up leftover files and folders that the official uninstaller sometimes leaves behind, including data from a virtual machine component that can take up several gigabytes. By default it preserves the configuration folder used by the Claude Code command-line tool, so uninstalling the desktop app does not affect a developer's CLI setup.

If you need to update to a newer version of the installer, a separate script downloads the latest package directly from Anthropic's servers. The scripts also write logs to a local folder so you can check what went wrong if an installation fails.

The batch files are wrappers around PowerShell scripts, which can also be run directly with extra options for cases like skipping confirmation prompts or cleaning up environment variables. The scripts themselves are released under a non-commercial license, while the Claude Desktop application they install is Anthropic's own software with its own terms of service.

Where it fits