Vagrant with VirtualBox on Windows10: “Rsync” could not be found on your PATH

后端 未结 8 2010
情深已故
情深已故 2021-01-29 20:21

I\'ve used Vagrant for a while on a windows 7 system. Now I\'ve a new PC with windows 10. I installed Oracle Virtual Box and Vagrant and I try to start a machine with the comman

8条回答
  •  终归单人心
    2021-01-29 21:06

    First of all this is not a bug it is expected behavior on Windows because the rsync is absent on Windows.

    If you faced with this problem and want to use the rsync as a mechanism to sync folders you should:

    1. Download the Cygwin from https://mingw-w64.org/doku.php/download/cygwin
    2. Install the Cygwin with rsync + openssh modules. It's important bacause they is basent on a Window (you may select packages to install during installation on the Select packages phase)
    3. Add x:\cygwin\bin, where 'x' is the drive on which you have installed the cygwin distribution, to the SYSTEM PATH.
    4. Reboot your PC (not need on Windows 10)

    That's all.

    Thank you for your attention and have a nice day :-)

提交回复
热议问题