You can run the Vivado tools in batch mode by providing a Tcl script when launching the tool. Use this command either at a Linux or Windows command prompt:
vivado -mode batch -source <your_Tcl_script>
Note: In batch mode, the Vivado tools exits automatically after running the
specified script.