# How to build a module?
Enter sbt shell, navigate to the respective module using
projectcommandrun command
compile[Lottery] $ project LotteryDomain [info] Set current project to LotteryDomain ... [LotteryDomain] compile
Alternately, use the / operator along with module name followed by the command:
[Lottery] $ LotteryDomain/compile