# Building Unreal Projects from Command Line

**URL:** <https://forums.unrealengine.com/t/building-unreal-projects-from-command-line/294296>\
**Category:** Platform & Builds\
**Tags:** unreal-build-tool, Builds, unreal-engine, building, question\
**Created:** [September 22, 2014, 3:39am UTC](https://forums.unrealengine.com/t/building-unreal-projects-from-command-line/294296 "2014-09-22T03:39:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tuski](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tuski](https://forums.unrealengine.com/u/Tuski)\
**Post date:** [September 22, 2014, 3:39am UTC](https://forums.unrealengine.com/t/building-unreal-projects-from-command-line/294296/1 "2014-09-22T03:39:18Z")

</div>

Hi,

I am trying to figure out how can I use Command Line to initiate a build. I am trying to have a Jenkins continuous integration server build the project every time a new change is pushed to remote repository, so I am guessing I would need some commands for the server to run Unreal Build Tool or Unreal Front End?

Thanks,

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_55d41bed](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_55d41bed](https://forums.unrealengine.com/u/anonymous_user_55d41bed)\
**Post date:** [September 23, 2014, 7:02pm UTC](https://forums.unrealengine.com/t/building-unreal-projects-from-command-line/294296/2 "2014-09-23T19:02:55Z")

</div>

You can do this using the RunUAT tool which is in the /Engine/Build/BatchFiles in your install. There’s a lot of information on how to do this on the [wiki](https://wiki.unrealengine.com/How_to_package_your_game_with_commands), but a simple example to build the client:

```
RunUAT BuildCookRun -project="full_project_path_and_project_name".uproject -noP4 -platform=Win64 -clientconfig=Development -serverconfig=Development -cook -maps=AllMaps -compile -stage -pak -archive -archivedirectory="Output Directory"

```

See the wiki post on [How to package your game with commands](https://wiki.unrealengine.com/How_to_package_your_game_with_commands) for more information.

---

<div class="post-metadata">

**Author:** ![Tuski](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tuski](https://forums.unrealengine.com/u/Tuski)\
**Post date:** [September 24, 2014, 3:54am UTC](https://forums.unrealengine.com/t/building-unreal-projects-from-command-line/294296/3 "2014-09-24T03:54:59Z")

</div>

Thanks a lot for the guidance! I will start with the wiki documentation.

---

<div class="post-metadata">

**Author:** ![mstorer3772](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mstorer3772](https://forums.unrealengine.com/u/mstorer3772)\
**Post date:** [September 10, 2021, 3:55pm UTC](https://forums.unrealengine.com/t/building-unreal-projects-from-command-line/294296/4 "2021-09-10T15:55:25Z")

</div>

Shockingly, the link[s] have moved in the last 8 years. If you’re around and can update them, that’d be great.

I searched around a bit and couldn’t find it myself. I’m guessing things have changed enough to make “how to package your game with commands” outdated and it was pulled.

---

<div class="post-metadata">

**Author:** ![BOB.cat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BOB.cat](https://forums.unrealengine.com/u/BOB.cat)\
**Post date:** [September 10, 2021, 4:03pm UTC](https://forums.unrealengine.com/t/building-unreal-projects-from-command-line/294296/5 "2021-09-10T16:03:09Z")

</div>

[Here](https://nerivec.github.io/old-ue4-wiki/pages/how-to-package-your-game-with-commands.html) is an archived version of the old wiki. [And this one](https://docs.unrealengine.com/4.26/en-US/SharingAndReleasing/Deployment/BuildOperations/) is the new docs page. It talks about the RunUAT tool under the “Command Line” section.
