# How to change installation path?

**URL:** https://meta.discourse.org/t/how-to-change-installation-path/297965
**Category:** Self-hosting
**Tags:** unsupported-install
**Created:** [March 5, 2024, 7:32am UTC](https://meta.discourse.org/t/how-to-change-installation-path/297965 "2024-03-05T07:32:23Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![peyrusse](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@peyrusse](https://meta.discourse.org/u/peyrusse)
#### Post date: [March 5, 2024, 7:32am UTC](https://meta.discourse.org/t/how-to-change-installation-path/297965/1 "2024-03-05T07:32:23Z")

</div>

Hello,

I want to install Discourse on a specific location with more spaces.

How can i set a different location than /var/discourse when i install Discourse ?

Regards.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [March 5, 2024, 2:42pm UTC](https://meta.discourse.org/t/how-to-change-installation-path/297965/2 "2024-03-05T14:42:50Z")

</div>

Just clone it there.

There’s nothing magic about that location. You’ll just need to remember to use whatever your path is rather than `/var/discourse`. Also note that Docker takes up space too, so you might need to make sure that you have space for it.

Finally, you could put Discourse at /var/discourse and mount the volumes that it gives Discourse wherever you like rather than `/var/discourse/shared`.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [April 4, 2024, 2:43pm UTC](https://meta.discourse.org/t/how-to-change-installation-path/297965/3 "2024-04-04T14:43:10Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
