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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 18:01:23  来源:igfitidea点击:

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

phplaravelpostgresqlcomposer-php

提问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.

我已经按照说明安装了所有东西。

  1. Install and configure application by running following commands

    composer install

    mv .env.example .env

  1. 通过运行以下命令安装和配置应用程序

    composer install

    mv .env.example .env

When I run mv .env.example .envas 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

mvis a Unix command and I think you are using windows. You have 2 options:

mv是一个 Unix 命令,我认为您正在使用 Windows。您有 2 个选择:

  1. Installing Git bash and in the bash use mvcommand.

  2. Using Windows movecommand.

  1. 安装 Git bash 并在 bash 中使用mv命令。

  2. 使用 Windowsmove命令。