简体   繁体   中英

'svn' is not recognized as an internal or external command, operable program or batch file

example for download project


cd xampp\\htdocs>svn co http://svn.doctrine-project.org/trunk doctrine

then error


'svn' is not recognized as an internal or external command, operable program or batch file.

Subversion is not installed by default on Windows. You have to install it to be able to use 'svn' command lines. Packages can be found here: http://subversion.apache.org/packages.html

You can download TortoiseSVN and while installing choose CLI package. Once after installation add the folder location to Environment Variables->System variables

In case if someone is looking to install Command line client tools on top of already installed Tortoise , you can do this.

  1. Download the latest from website ( https://tortoisesvn.net/downloads.html ) and open the exe.
  2. When you reach this screen (see below), untick all, but `command line client tools'.
  3. Press "Next" and continue the installation.

This will only install command line client tools on top of your existing Tortoise.

Hope this will help someone. Cheers!

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM