Books

This page shows how to download, install and run a Play application. There’s a built in tutorial that shows you around, so running this Play application will show you how Play itself works!

Play is a series of libraries available in Maven Repository, so you can use any Java build tool to build a Play project. However, much of the development experience Play is known for (routes, templates compilation and auto-reloading) is provided by SBT. In this guide we describe how to install Play with SBT.

We provide a number of sample projects that have an ./sbt launcher in the local directory. These can be found on our download page. This launcher will automatically download dependencies without you having to install SBT ahead of time.

Refer to the SBT download page to install the SBT launcher on your system, which provides the sbt command. Otherwise you can use the SBT launcher located in your example project’s directory.

SBT provides all the necessary commands to run your application. For example, you can use sbt run to run your app. For more details on running Play from the command line, refer to the new application documentation.