# The HOME or COMPOSER\_HOME environment variable must be set for composer to run correctly

**URL:** https://forum.shopware.com/t/the-home-or-composer-home-environment-variable-must-be-set-for-composer-to-run-correctly/96630
**Category:** Programmierung
**Created:** [11. Oktober 2022 um 12:54 UTC](https://forum.shopware.com/t/the-home-or-composer-home-environment-variable-must-be-set-for-composer-to-run-correctly/96630 "2022-10-11T12:54:55Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![jcandel](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jcandel](https://forum.shopware.com/u/jcandel)
#### Post date: [9. Juni 2023 um 12:24 UTC](https://forum.shopware.com/t/the-home-or-composer-home-environment-variable-must-be-set-for-composer-to-run-correctly/96630/10 "2023-06-09T12:24:39Z")

</div>

Fügen Sie die nächste Zeile zur .env-Datei hinzu und die Meldung wird gelöscht.

### COMPOSER\_HOME

COMPOSER\_HOME=„/var/cache/composer“

### COMPOSER\_HOME

---

_[View the full topic](https://forum.shopware.com/t/the-home-or-composer-home-environment-variable-must-be-set-for-composer-to-run-correctly/96630)._
