DEV Community

Building My First CLI Tool — Messy but Worth It!

Khushiii on July 03, 2025

It wasn’t perfect, but I built it — and that’s the vibe🌼 Hellooo Devs👋 It’s me, Khushi — A curious kid just figuring things out 🌸 This is not s...
Collapse
 
rohan_sharma profile image
Rohan Sharma

Hey Khushi, that's a great write up. Keep it up.

Btw did you write this blog from mobile phone? I see you added the mobile captured images.

Collapse
 
khushimehappy profile image
Khushiii

Thank you so much Rohan for the support 🌻✨
Nope I used my laptop.... The images I clicked with my phone then Added them using my laptop...

Collapse
 
rohan_sharma profile image
Rohan Sharma

try capturing screenshots directly from laptop. Use the built in snipping tool

Thread Thread
 
khushimehappy profile image
Khushiii

OKKKK Rohan thanks for the suggestions i will do that from the next time

Collapse
 
simbo1905 profile image
Simon Massey • Edited

That is super cool. Looks like gemini cli having nice colours. I run that cli tool as 'npx https://github.com/google-gemini/gemini-cli and that will pull into a temp location and running it; so a zero install way of always running the latest tool. you can make an alias for such cli tools like yours.

Collapse
 
khushimehappy profile image
Khushiii

That’s such a cool trick — running it via npx straight from the GitHub repo is honestly the smoothest way to stay up-to-date without installs 🔥
Hadn’t thought of creating an alias for mine, but now it’s on my to-do list 😄
Thanks for sharing this — I am gonna do thisss!

Collapse
 
ansellmaximilian profile image
Ansell Maximilian

Great job! I like your writing style — it's got a lot of personality!

Collapse
 
khushimehappy profile image
Khushiii

Appreciate that a lot! Just trying to keep it fun, honest, and a little bit chaotic — like my dev journey 😅

Collapse
 
henri_joseamani_8280cb1a profile image
henri jose amani

Great job !

Collapse
 
khushimehappy profile image
Khushiii

Thank You ⭐

Collapse
 
dotallio profile image
Dotallio

This is so real, the whole module chaos got me the first time too! Curious, what's your favorite npm library so far for CLI stuff?

Collapse
 
khushimehappy profile image
Khushiii

Aahhh thank you, Datallio! 😭 Of course, that module chaos… oh my god, it hit me hard too, but it’s finally workingg 😮‍💨
I’m really new to all these CLI things, but I gotta say — I loved gradient-string for the colorss 😅✨
Also, I just dropped another blog about Gemini CLI — it's pretty cool if you're into that kind of CLI's : - dev.to/khushimehappy/too-broke-for...

Collapse
 
matyasjay profile image
Matyas Angyal

Not sure how I got here, but "The Code" made my day. Thanks!

Collapse
 
khushimehappy profile image
Khushiii

The algorithm knew what it was doing 😌
Happy to hear the code made your day!

Collapse
 
galacticcircuit profile image
Galactic Circuit

Very cool! love the design.

Collapse
 
khushimehappy profile image
Khushiii

Thank Youuu🙌