# 3. Parallel Envs In this tutorial, we will show you how to use MetaSim to run multiple environments in parallel. ## Common Usage ```bash python get_started/3_parallel_envs.py --sim --num_envs ``` you can also render in the headless mode by adding `--headless` flag. By using this, there will be no window popping up and the rendering will also be faster. By running the above command, you will run multiple environments in parallel and it will automatically record a video. ### Examples #### Isaac Lab ```bash python get_started/3_parallel_envs.py --sim isaaclab --num_envs 4 ``` #### Isaac Gym ```bash python get_started/3_parallel_envs.py --sim isaacgym --num_envs 4 ``` #### Genesis ```bash python get_started/3_parallel_envs.py --sim genesis --num_envs 4 ``` Note that we find the `headless` mode of Genesis is not stable. So we recommend using the `non-headless` mode. We can open multiple environments at the same time. You will get the following videos:

Isaac Lab

Isaac Gym

Genesis