npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

mirocli

v1.0.7

Published

A lightweight and secure tool to interact with Miro API.

Readme

Miro CLI

Release Workflow NPM Version

Miro CLI is a robust command-line interface (CLI) tool designed for working with the Miro Platform API. It enables users to view and manage their boards, teams, and resources, as well as access enterprise features such as Content Logs, Board Export, and Audit Logs.

The tool securely manages app credentials and sessions, ensuring safe and convenient access to Miro's powerful API capabilities. By leveraging Miro CLI, teams and developers can streamline workflows, automate tasks, and gain deeper insights into their Miro environments—all from the comfort of the command line.

Introduction

Miro CLI allows developers and teams to interact with Miro's RESTful APIs (developers.miro.com) directly from the command line.
With Miro CLI, you can:

  • View and manage boards, teams, and resources.
  • Access enterprise-level features such as Content Logs, Board Export, and Audit Logs.
  • Securely manage credentials and maintain session persistence for seamless access.

By integrating Miro CLI into your development and operational workflows, you can automate and simplify tasks that would otherwise require manual interaction through the Miro web interface.

For more information on Miro's API capabilities, refer to the Miro REST API Introduction.

Installation

Prerequisites

  • Node.js: Ensure that Node.js is installed on your system. You can download it from the official website.

  • (Linux only) libsecret: For Linux systems, make sure libsecret is installed. This library is required for securely storing credentials. Install it using your system's package manager:

    • Debian/Ubuntu:

      sudo apt install libsecret-1-dev
    • Fedora:

      sudo dnf install libsecret-devel
    • Arch Linux:

      sudo pacman -S libsecret

Install via npm

To install Miro CLI globally using npm, run the following command:

npm install -g mirocli

This command will make the mirocli command available globally on your system. Once installed, you can verify the installation by running:

mirocli --help

This will display the help information, confirming that the installation was successful.

Install from Source

Prerequisites for Source Installation

  • pnpm: Ensure pnpm is installed globally on your system. If not, install it using npm:
npm install -g pnpm

Steps to Install from Source

To install Miro CLI from the source code, follow these steps:

  1. Clone the repository from GitHub.
  2. Install dependencies using pnpm.
  3. Build the project.
  4. Link the CLI globally for system-wide use.

Run the following commands:

git clone https://github.com/davitp/mirocli.git
cd mirocli
pnpm i
pnpm build
pnpm link --global

After completing these steps, you can verify the installation by running:

mirocli --help

This will display the help information for Miro CLI, confirming that the installation was successful.

Getting Started

To use Miro CLI, you need to configure at least one context, which represents a registered Miro app (client). A context stores the credentials and details required to interact with the Miro API.

Adding a Context

You can add a new context using the following command:

mirocli context add

The interactive prompt will guide you through the configuration process. Below is an example of the prompt and the expected inputs:

? How do you want to call the new context? (Default value: default) default
? Which organization do you want to use? [Enter your organization ID] 1234567890
? What is your app's client ID? **********
? What is your app's client secret? ******

Once you've completed the prompts, the context will be saved, and you can start using Miro CLI commands to interact with your Miro resources.

Login

To authenticate with the Miro Platform, use the following command:

mirocli auth login

This will open your default web browser to complete the authentication process. Log in using your Miro account, and once successful, simply close the browser window.

Verifying Login

After completing the login process, you can verify your authentication status by running:

mirocli auth whoami

This command will display information about the authenticated user, such as the user's name and organization associated with the current session.

With successful authentication, you're ready to use Miro CLI to manage your Miro resources and access its features.

Examples

Here are some common examples of how to use Miro CLI:

View the Current Organization

To view the details of the current organization, use:

mirocli organization view

Search for Teams

To search for teams within the organization, use:

# display results in table view
mirocli teams list --name "Marketing"

# display results in raw json
mirocli teams list --name "Marketing" --json

This will list the teams whose names match the filter "Marketing."

More Information

For more details on available commands and their usage, you can always run:

mirocli help

This will provide an overview of all commands, options, and flags that Miro CLI supports. Additionally, you can get help for specific commands by using:

mirocli <command> --help

This will show detailed information about that particular command, including available options and usage examples.