
mdbadges-cli is an extensive command-line tool that lets you search for over 500+ Shields.io badges for your projects without needing to leave the terminal, also including multiple commands with different purposes.
To globally install mdbadges-cli, run the following:
npm install -g mdbadges-cli
To start using a command, add the mdb
prefix, followed by the correct command name and syntax. For example:
mdb social discord
# Badge found:
# [](#)
If you want to use a option, such as --style
, you can run the same command with the option placed after it. For example:
mdb social discord --style plastic
# Badge found:
# [](#)
For information on things like command syntax or accepted arguments, run mdb help
.
This section contains the commands that are currently available, with their corresponding syntax, arguments, and aliases.
Command | Description | Aliases | Additional Information |
---|---|---|---|
mdb [category] [badgeName] |
Displays badge from a specific category. | None | Supports changing style using --style , adding a link to the badge using --link , and HTML using the --html option. Also supports finding multiple badges at once. |
mdb search |
Searches for badges across any category. | s , find , lookup |
Select a badge to get the Markdown code for it. Loops until No is selected. |
mdb create |
Displays prompts to create your own badge. | generate |
Both Markdown and HTML versions of your badge are given. For logo colors, only hexadecimal colors are supported. |
mdb add [category] [badgeName] [filePath] |
Allows you to add a badge to a file. | None | This works with subdirectories too. Also supports adding HTML versions using the --html option. |
mdb copy [category] [badgeName] |
Copies a badges' code to the clipboard. | c |
Also supports copying HTML versions using the --html option. |
mdb random |
Displays a random badge. | r |
Displays the badge in both Markdown and HTML formats. |
mdb badges |
Opens a link to the badge list in your browser. | list |
Opens in your default browser. |
mdb docs |
Opens a link to the documentation in your browser. | None | Opens in your default browser. |
mdb changelog |
Opens a link to the latest release and it's changelog in your browser. | release |
Opens in your default browser. |
This section contains the categories that are currently available, with their corresponding names and syntax. The syntax is needed for the [category]
field of certain commands.
Name | Syntax |
---|---|
API Development | api-dev |
App Store | app-store |
Artificial Intelligence | ai |
Blog | blog |
Browser | browser |
CI | ci |
Cloud | cloud |
Code Coverage | code-coverage |
Code Editor | code-editor |
Collaboration | collaboration |
Cryptocurrency | crypto |
Database | database |
Data Science | data-science |
Delivery | delivery |
Design | design |
Documentation | documentation |
Education | education |
Funding | funding |
Framework | framework |
Game Engine | game-engine |
Gaming Storefront | game-store |
Jobs | jobs |
Operating System | os |
ORM | orm |
Package Manager | package-manager |
Payment | payment |
Programming Language | programming |
Review | review |
Search Engine | search-engine |
Social Media | social |
Sound | sound |
Static Site | static-site |
Storage | storage |
Streaming | streaming |
Terminal | terminal |
Version Control | version-control |
Virtual Reality | vr |
To learn more about mdbadges-cli and how to use certain commands, along with their options, visit the documentation, which hosts more detailed information and various examples.
If you would like to contribute in any way, such as adding a badge, please make sure to read the contributing guidelines first before making a contribution.
© 2025 - mdbadges-cli is licensed under the MIT License.