By commenting with env0 commands on a pull request, it is possible to interact with your env0 environments without the need to log in to the env0 platform. We now support Plan and Apply from PR comments for Azure DevOps.
โจ Invoking deployments from PR comments โจ
For full details about this feature follow the env0 documentation.Here are the main commands you can use:
env0 plan command:
๐ ยenv0 plan -e {environments aliases}
- runs a plan on the env0 environments aliases. Aliases can be comma-separated if you like to run more than one environment.

env0 apply command:
โฏ๏ธ ยenv0 apply -e {environments aliases}
- runs apply on the env0 environments aliases. Aliases can be comma-separated if you like to run more than one environment.
