The Hedera command-line interface (CLI) is undergoing a significant evolution. We are excited to announce that the Hedera CLI is transitioning to the Hiero CLI, reflecting its new home under Linux Foundation Decentralized Trust’s (LFDT) Hiero project. This change aligns the tool with Hedera’s broader move to open governance and sets the stage for a more community-driven future.
In this post, we’ll explore why the CLI is moving to Hiero, what this means for developers, and how a new plugin-based architecture will empower the community in the future.
In late 2024, Hedera open sourced its entire codebase, leading to the creation of Hiero—an open, vendor-neutral distributed ledger platform hosted under LFDT. Hiero inherits Hedera’s technology but operates with neutral, community-driven governance, emphasizing transparency and collaboration.
The CLI’s transition to Hiero CLI is a natural step in this journey, eliminating confusion and unifying the tool with the rest of the open source ecosystem. By moving into the Hiero project, the CLI gains the benefits of LFDT’s neutral governance model, which fosters broader ecosystem growth and community contribution.
The Hedera CLI began humbly as an internal pet project by the Developer Advocacy team to streamline common tasks. Developers were writing scripts for operations like creating accounts, managing tokens, and setting up topics, but these scripts required repetitive manual steps and copying of credentials between commands. The CLI was created to reduce these pain points by providing an interactive, stateful command-line tool.
Early versions allowed chaining multiple actions and storing outputs (like new account IDs or keys) for reuse in subsequent commands, eliminating the need for manual copy-paste. Over time, features like internal state management, script blocks for multi-step workflows, and a broader command set were added. These enhancements turned the CLI into a powerful ally for different developer personas:
By addressing these needs, the CLI has become an intuitive gateway to Hedera’s capabilities. It simplifies complex operations and lowers the barrier to entry for anyone working on Hedera-based projects.
Alongside the name change, the biggest evolution in the Hiero CLI is its revised architecture, which is being worked on right now. We are introducing an extensible plugin architecture that will allow the CLI to grow with the community’s needs while keeping the core stable and secure. Rather than a monolithic tool that only the core team can extend, the Hiero CLI will function as a platform on which anyone can build add-ons.
At a high level, we are establishing a stable Core inside the CLI and defining clear contracts for extensions. The Core provides a well-defined API for all Hedera/Hiero network operations (account management, token transfers, smart contract calls, etc.) and manages common concerns like configuration, state, and security. On top of this core, plugins can be developed and plugged in to introduce new commands or capabilities to the CLI. Each plugin will be a Node.js package that declares a manifest of its commands and any resources it needs, and the CLI will discover and integrate these at runtime.
Some key aspects of this design include:
From a developer’s perspective, using or writing a plugin will be straightforward. You’ll install a plugin like any other package, and it will register new commands in the CLI. The CLI will list these plugins and allow enabling/disabling them if needed. Our goal is to make extending the CLI as easy as writing a small Node.js module that hooks into this system, so the community can share and reuse enhancements.
Moving to a plugin architecture is more than a technical upgrade. It’s a shift in philosophy towards greater community empowerment. By providing an extensible core, we want to enable developers to craft tools around the CLI for their specific needs. This means the Hiero CLI can serve as a foundation for an ecosystem of community-driven extensions:
In short, anyone can build on top of Hiero CLI to suit their needs without fragmenting the ecosystem. To follow along with the CLI journey, make sure to star the repository or click the “watch” button.