登陆

linux 下怎么执行 composer 命令安装软件包

composer 在软件管理安装了,composer 文件也在这个目录下

```

-rw-r--r--  1 root root   3471 Jul 19 20:52 composer.json

-rw-r--r--  1 root root 278567 Jul 19 20:52 composer.lock

```

wenlin42wenlin422020-07-19 23:15:52959 次浏览

全部回复(3)我要回复

  • wenlin42

    wenlin422020-07-19 23:26:59

    执行:composer install --no-dev

    ```

    Composer could not find a composer.json file in /

    To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section

    ```

    回复
    0
  • phpsutdy-爱好者

    面板 软件管理中有一个composer 然后使用webshell来 使用composer命令就行了

    phpsutdy-爱好者 · 2020-07-21 10:52:17
    wenlin42

    如果不想用 webshell,直接用 ssh 远程composer怎么弄?

    wenlin42 · 2020-07-21 16:35:07
  • 取消回复发送