How to Run Product Import in Magento 2 from CLI
If you are looking for a way to optimize your daily routine related to product import, you’ve come to the right place. Many merchants are looking for tips on how to import products to Magento 2 using the command line interface or an alternative way to achieve the same goal. Below, you will find the answer. The following article is based on the

According to Khoa TruongDinh, you cannot import products to Magento 2 using CLI in the most efficient way. Instead, he proposes to set up the Scheduled Import for the Commerce version under System > Data Transfer > Scheduled Imports/Exports. You can read more about the feature here:
If you’re using the Open Source version, you should rely on third-party modules, such as the Improved Import & Export Magento 2 extension.
Our module fully supports cron enabling you to create any custom schedule of updates. There is no need to use CLI commands since everything can be configured within the extension’s backend in the most user-friendly manner.
You need to know the standard cron syntax to create a custom update schedule. Alternatively, it is possible to select one of the predefined time intervals to run the update. Besides, you can still run product import asynchronously in a manual mode.
For further information about the extension, follow this link:
Download/Buy Improved Import & Export Magento 2 Extension
We hope the article was useful. For other Magento 2 tips, check our Cookbook.
