# How to build a game from the terminal in macosx

**URL:** <https://forums.unrealengine.com/t/how-to-build-a-game-from-the-terminal-in-macosx/75079>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [October 3, 2016, 9:22am UTC](https://forums.unrealengine.com/t/how-to-build-a-game-from-the-terminal-in-macosx/75079 "2016-10-03T09:22:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_3698c782](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3698c782](https://forums.unrealengine.com/u/anonymous_user_3698c782)\
**Post date:** [October 3, 2016, 9:22am UTC](https://forums.unrealengine.com/t/how-to-build-a-game-from-the-terminal-in-macosx/75079/1 "2016-10-03T09:22:03Z")

</div>

Hi I want to find the command to build my game project from terminal , essentially I want to do what the Compile button is doing inside the editor.

I tried to find instructions online , zero documentation about it, confusing answers.

---

<div class="post-metadata">

**Author:** ![AnadinX](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/anadinx/32/1008648_2.png) [@AnadinX](https://forums.unrealengine.com/u/AnadinX)\
**Post date:** [October 3, 2016, 11:56am UTC](https://forums.unrealengine.com/t/how-to-build-a-game-from-the-terminal-in-macosx/75079/2 "2016-10-03T11:56:10Z")

</div>

If you look in /Users/Shared/UnrealEngine/4.xx/Engine/Build/BatchFiles

You will find RunUAT.sh

You should be able to use this documentation with that bash script

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3698c782](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3698c782](https://forums.unrealengine.com/u/anonymous_user_3698c782)\
**Post date:** [October 3, 2016, 6:54pm UTC](https://forums.unrealengine.com/t/how-to-build-a-game-from-the-terminal-in-macosx/75079/3 "2016-10-03T18:54:20Z")

</div>

Thanks for the help indeed I was successful building my game using RunUAT.sh
