You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Windows系统下Deployer.org安装:mv命令报错后的正确路径咨询

Fixing Deployer Installation Path Error on Windows

Hey there! That error shows up because Windows doesn’t use the Unix-style /usr/local/bin directory structure we rely on for macOS or Linux. Let’s get this sorted with the right Windows-specific steps:

Option 1: Use a System-Wide Accessible Directory

Windows has built-in system directories that are already included in your PATH (so you can run dep from any terminal window). The easiest one is C:\Windows\System32:

  1. Open Command Prompt or PowerShell in the folder where you downloaded deployer.phar
  2. Run this command (note we use move instead of mv, and add the .exe extension—Windows requires this for executable files):
    move deployer.phar C:\Windows\System32\dep.exe
    
  3. Test it by opening a new terminal window and running:
    dep --version
    

If you prefer keeping third-party tools organized in their own space, create a dedicated folder and add it to your system PATH:

  • Make a new folder, for example: C:\Tools\Deployer
  • In your terminal, run:
    move deployer.phar C:\Tools\Deployer\dep.exe
    
  • Add this folder to your system PATH:
    1. Right-click "This PC" → "Properties" → "Advanced system settings"
    2. Navigate to the "Environment Variables" section
    3. Under "System variables", find and edit the Path variable
    4. Click "New" and paste your custom folder path (like C:\Tools\Deployer)
    5. Save all changes and restart your terminal
  • Verify the installation with:
    dep --version
    

Either approach should get Deployer up and running smoothly on your Windows system!

内容的提问来源于stack exchange,提问作者wblteam

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.28 04:19:12