项目

如何卸载 ABP Suite?

你可以通过以下终端命令轻松卸载 ABP Suite:

abp suite remove

如何彻底卸载 ABP Suite?

要彻底卸载 ABP Suite,请按照以下步骤操作:

  1. 终止正在运行的 ABP Suite 应用程序。

  2. 通过终端命令卸载 ABP Suite:

    dotnet tool uninstall -g volo.abp.suite
    
  3. 如果存在,删除应用程序安装文件夹:

Windows 系统:

%UserProfile%\.dotnet\tools\.store\volo.abp.suite

MAC 系统:

~/.dotnet/tools/.store/volo.abp.suite
  1. 如果存在,删除 ABP Suite 可执行文件:

Windows 系统:

%UserProfile%\.dotnet\tools\abp-suite.exe

MAC 系统:

~/.dotnet/tools/abp-suite
  1. 如果存在,删除许可证文件:

    Windows 系统:

    %UserProfile%\AppData\Local\Temp\AbpLicense.bin
    

    MAC 系统:

    $TMPDIR/AbpLicense.bin
    
  2. 删除访问令牌文件:

    Windows 系统:

     %UserProfile%\.abp\cli\access-token.bin
    

    MAC 系统:

     ~/.abp/cli/access-token.bin
    

至此,你已成功卸载 ABP Suite!

重新安装 ABP Suite

如果你想要重新安装 ABP Suite:

  • 请确保已安装 ABP CLI(通过在终端运行 abp 命令来验证)。

  • 通过 ABP CLI 登录你的账户:

    abp login <username>
    
  • 然后,使用以下命令安装 ABP Suite:

    abp suite install
    

    如果你想安装预览版,请添加参数 --preview

在本文档中