# Command Line Interface¶

IDP-Z3 can be run through a Command Line Interface.

If you have downloaded IDP-Z3 from the GitLab repo, you may run the CLI using poetry (see Installation):

poetry run python3 idp-engine.py path/to/file.idp


where path/to/file.idp is the path to the file containing the IDP source file to be run. This file must contain a main block.

Alternatively, if you installed it via pip, you can run it with the following command:

idp-engine path/to/file.idp