Magento 2: Useful Configuration Settings & CLI Commands for Development Environment

This article shows some of the configuration settings and CLI commands that are useful for developers in their development environment. For example, enabling logging, enabling template path hints, disabling forced admin password change, etc. Disable password change From Magento admin Stores > Configuration > Advanced > Admin > Password Lifetime(days) = 0 Stores > Configuration … Read more

Magento 2: Add Custom Console CLI Command in your Module

Magento allows to create custom console commands to the Symfony-like command-line interface (CLI). The Console component allows you to create command-line commands. You can create custom console commands for any task like import, export, or other batch jobs. In this article, I will be creating a custom Magento2 module and will add a custom console … Read more

FFMPEG: Convert & Edit Video via Command Line

FFMPEG is a free software that lets you create/edit/convert videos via command line. You can download and install FFMPEG for Linux, Windows, and Mac Operating System. FFMPEG provides a lot of features that you can apply to an video like: – get detailed information of the video – record video – convert video to audio … Read more

ImageMagick: Convert & Edit Image via Command Line

ImageMagick is a free software that lets you create/edit/convert images via command line. You can download and install ImageMagick for Linux, Windows, and Mac Operating System. ImageMagick provides a lot of features that you can apply to an image like: – get detailed image information – resize, crop image – flip and rotate image – … Read more

Node.js: Pass Arguments/Parameters to Programs in Command Line

This article shows how you can pass command line arguments/parameters to any Node.js programs or .js file. Here’s an example: node index.js This will execute the index.js file program. Suppose, you can to pass some arguments and values to the index.js file program via command line. For example, in the below command, we are trying … Read more

Magento 2: Unlock Reindex Process via Command Line

This article shows how you can unlock the locked reindexing process Magento 2 via command line. Problem Sometimes a scenario comes when the indexing process gets locked at the time of reindexing. When the process or the index type is locked then you cannot reindex that particular locked index type. The reindex will always skip … Read more

Magento 2: Enable/Disable Module via Command Line

This article shows how you can enable or disable Magento 2 modules using the command line. In my previous article, I have listed out all the command line tools that can be used in Magento 2. This article specifically shows about commands to enable/disable Magento 2 modules. Get the List of All Modules First of … Read more

Upgrade Magento 1.x to the latest version

This article shows how you can upgrade/update your Magento 1.x via both Browser GUI and Command Line. Note: – Magento/Adobe ended support for Magento 1.x software on June 30, 2020. – After that day, the Magento 1 software repo was removed. – All Magento 1 extensions were removed from the official extension site. When you … Read more

Magento 2: Maintenance mode via Command Line

This article shows how you can enable or disable Maintenance mode in Magento 2 using the command line. In my previous article, I have listed out all the command line tools that can be used in Magento 2. This article specifically shows about commands to enable/disable maintenance mode in Magento 2. Check Maintenance Mode Status … Read more