laravel 'mv' 不是内部或外部命令,也不是可运行的程序或批处理文件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/52136609/
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
'mv' is not recognized as an internal or external command, operable program or batch file
提问by The Dead Man
I have forked a php application .they have instructed as follows.
我已经分叉了一个 php 应用程序。他们的指示如下。
1.Application uses:
1.应用用途:
- PHP 7.1.3
- composer
- laravel
- MySql or PostgreSQL
- PHP 7.1.3
- 作曲家
- 拉拉维尔
- MySql 或 PostgreSQL
I have installed everything as per instructions.
我已经按照说明安装了所有东西。
Install and configure application by running following commands
composer install
mv .env.example .env
通过运行以下命令安装和配置应用程序
composer install
mv .env.example .env
When I run mv .env.example .env
as per instructions i get the following error
当我mv .env.example .env
按照说明运行时,出现以下错误
'mv' is not recognized as an internal or external command, operable program or batch file.
'mv' 不是内部或外部命令,也不是可运行的程序或批处理文件。
any help or suggestions will be helpfull
任何帮助或建议都会有所帮助
回答by Rouhollah Mazarei
mv
is a Unix command and I think you are using windows. You have 2 options:
mv
是一个 Unix 命令,我认为您正在使用 Windows。您有 2 个选择:
Installing Git bash and in the bash use
mv
command.Using Windows
move
command.
安装 Git bash 并在 bash 中使用
mv
命令。使用 Windows
move
命令。