explaingit

xqnode/claude-code-desktop-offline

15PowerShellAudience · generalComplexity · 1/5LicenseSetup · easy

TLDR

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.

Mindmap

mindmap
  root((claude-desktop-offline))
    What it does
      Offline install
      Clean uninstall
      Leftover file cleanup
    Scripts included
      Install batch file
      Uninstall script
      Update downloader
      Log writer
    Key features
      No internet at install time
      CLI config preserved
      Environment variable cleanup
    Setup
      Unzip archive
      Double-click batch file
      Restart required
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Install Claude Desktop on a Windows machine that has no internet access at setup time by using the bundled installer in the release zip.

USE CASE 2

Completely remove Claude Desktop including the large virtual machine component files that the official uninstaller leaves behind.

USE CASE 3

Update to a newer Claude Desktop version by running the included update script that downloads the latest installer from Anthropic's servers.

Tech stack

PowerShellBatch/CMD

Getting it running

Difficulty · easy Time to first run · 5min

A Windows restart is required after installation before Claude Desktop appears in the Start menu.

The scripts are licensed for personal non-commercial use only, the Claude Desktop application they install is Anthropic's own software with separate terms.

In plain English

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.

Copy-paste prompts

Prompt 1
I used the claude-code-desktop-offline uninstall script. Where is the log file saved and what should I look for to confirm the virtual machine files were removed?
Prompt 2
I want to deploy Claude Desktop silently to multiple Windows machines using these scripts. How do I skip the confirmation prompts using PowerShell flags?
Prompt 3
After running the offline install script I need to verify Claude Desktop is working before restarting. What should I check first?
Open on GitHub → Explain another repo

← xqnode on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.