windows 'svn' 不是内部或外部命令,也不是可运行的程序或批处理文件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/32723100/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
'svn' is not recognized as an internal or external command, operable program or batch file
提问by sajad
example for download project
下载项目示例
cd xampp\htdocs>svn co http://svn.doctrine-project.org/trunkdoctrine
cd xampp\htdocs>svn co http://svn.doctrine-project.org/trunk学说
then error
然后出错
'svn' is not recognized as an internal or external command, operable program or batch file.
'svn' 不是内部或外部命令,也不是可运行的程序或批处理文件。
回答by Anjana Silva
In case if someone is looking to install Command line client tools on top of already installed Tortoise
, you can do this.
如果有人希望在已安装的基础上安装命令行客户端工具Tortoise
,您可以这样做。
- Download the latest from website (https://tortoisesvn.net/downloads.html) and open the exe.
- When you reach this screen (see below), untick all, but `command line client tools'.
- Press "Next" and continue the installation.
- 从网站 ( https://tortoisesvn.net/downloads.html)下载最新版本并打开 exe。
- 当你到达这个屏幕时(见下文),取消所有,但“命令行客户端工具”。
- 按“下一步”并继续安装。
This will only install command line client tools
on top of your existing Tortoise.
这只会安装command line client tools
在您现有的 Tortoise 之上。
Hope this will help someone. Cheers!
希望这会帮助某人。干杯!
回答by Laurent H.
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
默认情况下,Windows 上不安装 Subversion。您必须安装它才能使用“svn”命令行。包可以在这里找到:http: //subversion.apache.org/packages.html
回答by Raja Rajan
You can download TortoiseSVN and while installing choose CLI package. Once after installation add the folder location to Environment Variables->System variables
您可以下载 TortoiseSVN 并在安装时选择 CLI 包。安装后将文件夹位置添加到 Environment Variables->System variables