# Getting Started

**mdbadges-cli** is an extensive CLI tool to find over 500+ Shields.io badges for your projects without needing to leaving the terminal, featuring multiple commands with different purposes.

To get started, make sure you have at least [Node.js 18](https://nodejs.org/en/blog/release/v18.0.0) installed, then install mdbadges-cli onto your machine by running:

```sh
npm install -g mdbadges-cli
```

[<img src="https://github.com/inttter/mdbadges-cli/actions/workflows/publish.yml/badge.svg?event=release" alt="Release to NPM" data-size="original">](https://github.com/inttter/mdbadges-cli/actions/workflows/publish.yml) [<img src="https://github.com/inttter/mdbadges-cli/actions/workflows/test.yml/badge.svg" alt="Tests" data-size="original">](https://github.com/inttter/mdbadges-cli/actions/workflows/test.yml)

***

To start using any of the commands, add the `mdb` prefix, followed by the [**command name/syntax**](https://github.com/inttter/mdbadges-cli/tree/main#commands). For example, to find a Discord badge, run:

<pre class="language-sh"><code class="lang-sh"><a data-footnote-ref href="#user-content-fn-1">mdb</a> <a data-footnote-ref href="#user-content-fn-2">social</a> <a data-footnote-ref href="#user-content-fn-3">discord</a>

# Badge found:
# [![Discord](https://img.shields.io/badge/Discord-%235865F2.svg?&#x26;logo=discord&#x26;logoColor=white)](#)
</code></pre>

If you are not sure of the available categories, you can [visit the table in the repository](https://github.com/inttter/mdbadges-cli?tab=readme-ov-file#categories).

To find what a command does or its syntax while in the terminal, run `mdb help` to display all commands, their syntax, aliases, and additional options.

## Aliases

To view all available aliases for a command, go to the bottom of their documentation, where the aliases (if any) will be displayed, separated by bullet points if there is more than one.

## Additional Options

Some commands also have additional options, which are also listed towards the end of each command's documentation (if they have any), separated by a `/`if there is more than one alias for an option. This is followed by the documentation relating to the specific option.

## Want to add your own badges?

Check out the [contributing guidelines](https://github.com/inttter/mdbadges-cli/blob/main/CONTRIBUTING.md) before you make a pull request, then make a contribution to the repository!

Note that badges which are added to the parent repository ([md-badges](https://github.com/inttter/md-badges)) are manually added to mdbadges-cli after a couple of days/weeks.

[^1]: The **prefix**.

[^2]: The **category** name.

[^3]: The **badge** name.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://inttter.gitbook.io/mdbcli/start/getting-started.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
