Introduction: How to Use ESP-IDF Terminal or ESP-IDF PowerShell to Run Commands

About: Hi all, I'm Pawan Joshi who works on embedded system and IoT. I'm really passionate about embedded system and IoT. Here through this page you will come to know about embedded system from scratch to the latest …

Here in this tutorial I've explained you about how to use IDF Terminal or command prompt to run ESP32

Step 1: Software Used

  1. Espressif IDE : Here in this tutorial I've used Espressif IDE recommended by ESP. You can also use VS code with espressif ide extension or platformio extension. So it's up to you how you want to work
  2. Docklight: This is a tool to see serial output from esp32 to PC, this is optional as espressif IDE itself has serial terminal, personally I prefer docklight as there are lot of option from hex view to decimal view of any string.


Step 2: Components Used

  1. ESP32- WROOM-Kit: you required only one board for getting started with espressif IDE, here in this tutorial I'm using ESP32-WROOM kit, you can also go with esp32-wroover or esp32c3 mini board it will work for all the boards.


Step 3: How to Run Commands

Here in this case you have to go to the workspace where your project is saved. use cd to go to the workspace then use command idf.pybuild to build the project. Some of the commands are written below:

idf.py set-target esp32 ----------------- this command will set the target board you can choose esp32c3 or other chip by using this command

idf.py menuconfig------------------------ you can do configuration by giving this command. I'll give you the details instruction of this command in the next upcoming instructables.

idf.py partition-table--------------------- you can select the partition table

idf.py -p (COM_PORT) flash------------------ you can flash the program to chip using this command.

Step 4: Video

some of the commands I've demonstrated in the above video. Kindly go through the whole video


If you have any doubt regarding this project feel free to comment us below. And if you want to learn more about embedded system you can visit our youtube channel

Please visit and like our Facebook Page for frequent updates.

Thanks & Regards,

Embedotronics Technologies