> For the complete documentation index, see [llms.txt](https://scx.gitbook.io/sc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scx.gitbook.io/sc/backend-deploy-docs/sc-backend-old-uninstall.md).

# 老版本后端卸载指南

本教程提供老版本后端（版本 <= 2.3.0）的卸载教程。

### 🗑️Linux 版本卸载（版本 <= 2.1.0）

如果您使用一键脚本安装的后端，运行以下命令即可：

```
curl -L ghfast.top/https://raw.githubusercontent.com/scpj/ms-sc-destribution/master/script/install.sh -o miaospeed.sh && chmod +x miaospeed.sh && ./miaospeed.sh uninstall_miaospeed
```

### 🚗 Linux 版本卸载（版本 <= 2.2.0）

运行 `docker stop miaospeed`  即可。使用 `docker compose` 的用户，请在容器停止后删除 `docker-compose.yml`  。

### 🪟 Windows 版本卸载

打开 `C:\miaospeed` 文件夹，在空白处按住 shift 打开 powershell，操作如图。

<figure><img src="https://content.gitbook.com/content/LAVSWReLAyQHcKIkTIuu/blobs/0mvtb4qrg0X5NjXjaq4H/image.png" alt=""><figcaption></figcaption></figure>

运行 `.\nssm.exe remove miaospeed`，程序会自动移除 `miaospeed`。

<figure><img src="https://content.gitbook.com/content/LAVSWReLAyQHcKIkTIuu/blobs/H9PFLASbn6oQ8LpmSz3Z/image.png" alt=""><figcaption></figcaption></figure>

删除整个文件夹，卸载完成。
