# Extending idf.py: Create custom commands for your ESP-IDF workflow

DevFeed: [Extending idf.py: Create custom commands for your ESP-IDF workflow](<https://devfeed.tech/articles/extending-idf-py-create-custom-commands-for-your-esp-idf-workflow-13730.md>)

Original publisher: [Read original article](<https://developer.espressif.com/blog/2025/10/idf_py_extension/>)

Author: John Lee

Published: 2025-10-10T00:00:00Z

Content type: tutorial

Language: en

Sources: [Blog on Developer Portal](<https://devfeed.tech/sources/blog-on-developer-portal.md>)

Topics: [ESP-IDF](<https://devfeed.tech/topics/esp-idf.md>), [Development](<https://devfeed.tech/topics/development.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [cli](<https://devfeed.tech/tags/cli.md>), [commands](<https://devfeed.tech/tags/commands.md>), [component](<https://devfeed.tech/tags/component.md>), [development-tools](<https://devfeed.tech/tags/development-tools.md>), [esp-idf](<https://devfeed.tech/tags/esp-idf.md>), [examples](<https://devfeed.tech/tags/examples.md>), [extensions](<https://devfeed.tech/tags/extensions.md>), [guide](<https://devfeed.tech/tags/guide.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [idf-py](<https://devfeed.tech/tags/idf-py.md>), [integration](<https://devfeed.tech/tags/integration.md>), [python](<https://devfeed.tech/tags/python.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

## AI overview

This guide explains how ESP-IDF v6.0 and newer support extending idf.py with custom commands. It covers component-based extensions for project-specific tools and Python package extensions for reusable commands, along with integration considerations and examples.

## Source excerpt

Learn how to extend idf.py with custom commands for your development workflow. This guide covers both component-based extensions for project-specific tools and Python package extensions for reusable commands, with practical examples and best practices for seamless integration.