# Installing the Discourse development environment on Ubuntu

**URL:** <https://meta.discourse.org/t/installing-the-discourse-development-environment-on-ubuntu-ubuntu-discourse/248481>\
**Category:** Developers\
**Tags:** dev-install\
**Created:** [December 10, 2022, 2:06pm UTC](https://meta.discourse.org/t/installing-the-discourse-development-environment-on-ubuntu-ubuntu-discourse/248481 "2022-12-10T14:06:22Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Lhc\_fl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lhc_fl/32/268115_2.png) [@Lhc\_fl](https://meta.discourse.org/u/Lhc_fl)\
**Post date:** [October 6, 2023, 7:52am UTC](https://meta.discourse.org/t/installing-the-discourse-development-environment-on-ubuntu-ubuntu-discourse/248481/6 "2023-10-06T07:52:24Z")

</div>

> [@wayway\_way](#):
>
> Hello, what user does the ubuntu system username refer to?

You don’t need to find it yourself. This command means setting the environment variable $USER to the username. You can execute it directly. That sentence explains what this command does.

> [@honeymoose](#):
>
> `sudo -u postgres createuser -s "$USER"`

---

_[View the full topic](https://meta.discourse.org/t/installing-the-discourse-development-environment-on-ubuntu-ubuntu-discourse/248481)._
