# Building output using Ant

You can build output by using an Ant build script to provide the DITA-OT parameters.

## Procedure

1. Open a command prompt or terminal session.
2. Issue the following command:

   Option | Description
   --- | ---
   Linux or macOS | bin/ant -f `build-script target`
   Windows | bin\ant -f `build-script target`

   where:
   - build-script is name of the Ant build script.
   - target is an optional switch that specifies the name of the Ant target that you want to run.

     If you do not specify a target, the value of the `@default` attribute for the Ant project is used.