# \[GELÖST\] Probleme bei Installation mit MAMP, sh: composer: command not found

**URL:** <https://forum.shopware.com/t/gelost-probleme-bei-installation-mit-mamp-sh-composer-command-not-found/61457>\
**Category:** Installation / Einstieg\
**Created:** [2. September 2019 um 08:47 UTC](https://forum.shopware.com/t/gelost-probleme-bei-installation-mit-mamp-sh-composer-command-not-found/61457 "2019-09-02T08:47:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![neoshops](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/neoshops/32/17191_2.png) [@neoshops](https://forum.shopware.com/u/neoshops)\
**Post date:** [2. September 2019 um 08:47 UTC](https://forum.shopware.com/t/gelost-probleme-bei-installation-mit-mamp-sh-composer-command-not-found/61457/1 "2019-09-02T08:47:28Z")

</div>

Hi!

Ich habe ein Problem bei der Installation von Shopware 6 mit MAMP.

&nbsp;development$ bin/setup

führt beim Ausführen der Zeile

&nbsp;exec(‚composer install --working-dir=‘ . \_\_DIR\_\_);

zum Fehler „command not found“.

Der Alias ist in der .bash\_profile vorhanden. Im Terminal mit

&nbsp; &nbsp; &nbsp; composer --version

u.a. auch (global) ausführbar.

Es sieht aber so aus, als wären mit

&nbsp;&nbsp;&nbsp;&nbsp; #!/usr/bin/env php

und

```
 #!/usr/bin/env bash

```

alle Aliasse aus den Profildateien nicht mehr vorhanden (so auch mysql).

Vielen Dank für jeden Hinweis!

==\>

Es waren unterschiedliche Probleme.

In jedem Fall half für den Fehler „composer command not found“

alias composer=„php /usr/local/bin/composer“

statt

alias composer=„php /usr/local/bin/composer.phar“
