# Composer Install

**URL:** <https://community.localwp.com/t/composer-install/6916>\
**Category:** Support\
**Created:** [June 16, 2018, 1:31pm UTC](https://community.localwp.com/t/composer-install/6916 "2018-06-16T13:31:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![brycekelsey](https://avatars.discourse-cdn.com/v4/letter/b/90ced4/32.png) [@brycekelsey](https://community.localwp.com/u/brycekelsey)\
**Post date:** [June 16, 2018, 1:31pm UTC](https://community.localwp.com/t/composer-install/6916/1 "2018-06-16T13:31:18Z")

</div>

So I found an answer on here but can’t get it to work.

Right-click on the site and go to “Open Site SSH”  
Enter apt-get update && apt-get install -y curl  
Enter curl -sS [https://getcomposer.org/installer](https://getcomposer.org/installer) | php – --install-dir=/usr/local/bin --filename=composer  
After that, you can immediately use composer

This command worked fine (apt-get update && apt-get install -y curl)  
When I enter the next command I get (command not found)

Anybody know what I’m doing wrong?

---

<div class="post-metadata">

**Author:** ![royrogers](https://avatars.discourse-cdn.com/v4/letter/r/9f8e36/32.png) [@royrogers](https://community.localwp.com/u/royrogers)\
**Post date:** [January 6, 2019, 9:10pm UTC](https://community.localwp.com/t/composer-install/6916/2 "2019-01-06T21:10:04Z")

</div>

use this instead:

curl -sS [https://getcomposer.org/installer](https://getcomposer.org/installer) | php – --install-dir=/usr/local/bin --filename=composer

---

<div class="post-metadata">

**Author:** ![kevinbrands](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/kevinbrands/32/8849_2.png) [@kevinbrands](https://community.localwp.com/u/kevinbrands)\
**Post date:** [November 7, 2019, 2:52pm UTC](https://community.localwp.com/t/composer-install/6916/3 "2019-11-07T14:52:41Z")

</div>

I’ve managed to run the mentioned commands.

After that, composer should be available for that website container (I suppose).

If I run a composer command, that seems to work. But it should place a vendor folder. Except: it’s not there.

Where / how should a composer command be run?

---

<div class="post-metadata">

**Author:** ![mattwhosthat](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/mattwhosthat/32/7794_2.png) [@mattwhosthat](https://community.localwp.com/u/mattwhosthat)\
**Post date:** [November 7, 2019, 5:52pm UTC](https://community.localwp.com/t/composer-install/6916/4 "2019-11-07T17:52:07Z")

</div>

Hey @kevinbrands, there’s been a few updates to Local since the last post here.

What version of Local and what OS are you running?

---

<div class="post-metadata">

**Author:** ![kevinbrands](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/kevinbrands/32/8849_2.png) [@kevinbrands](https://community.localwp.com/u/kevinbrands)\
**Post date:** [November 8, 2019, 11:09am UTC](https://community.localwp.com/t/composer-install/6916/5 "2019-11-08T11:09:58Z")

</div>

Hi @mattwhosthat,

I managed to fix this another way, but thanks for replying!

---

<div class="post-metadata">

**Author:** ![mattwhosthat](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/mattwhosthat/32/7794_2.png) [@mattwhosthat](https://community.localwp.com/u/mattwhosthat)\
**Post date:** [November 8, 2019, 3:53pm UTC](https://community.localwp.com/t/composer-install/6916/6 "2019-11-08T15:53:01Z")

</div>


