How to install multiple modules with composer at once? Let's say we need to install these 2 modules :

composer require 'drupal/redirect:^1.4'
composer require 'drupal/pathauto:^1.4'


I couldn't find the correct syntax so I've tried this but it doesn't work :

composer require 'drupal/redirect:^1.4'; 'drupal/pathauto:^1.4'
composer require 'drupal/redirect:^1.4', 'drupal/pathauto:^1.4'
composer require 'drupal/redirect:^1.4'/'drupal/pathauto:^1.4'


Actually I install 1st module "redirect " and after installation is completed, I install the 2nd one "pathauto".

I would like to create a script that will install all the necessary modules I need.
You can write the names of multiple packages separated by spaces. For example:

composer require drupal/adminimal_theme:^1.5 drupal/adminimal_admin_toolbar:^1.9