DEV Community

Cover image for Build Your Own CLI App in 5 Minutes (ClackJS + Node + NPM Tutorial)

Build Your Own CLI App in 5 Minutes (ClackJS + Node + NPM Tutorial)

Jessica Wang on August 05, 2023

Introduction Today, I’m going to show you how to build your own command line application and deploy it as a NPM package. I will be using...
Collapse
 
therubberduckiee profile image
Jessica Wang

Random question to seed conversation since comment section is lonely:

What's a topic you feel like you should know about but you don't?

Collapse
 
schemetastic profile image
Schemetastic (Rodrigo)

Typescript, hahaha, I'd been using JavaScript for years.

Collapse
 
therubberduckiee profile image
Jessica Wang

Worked in Typescript for a few years as webdev at Microsoft and DoorDash - it was pretty easy for me to learn and a very useful tool!

Thread Thread
 
schemetastic profile image
Schemetastic (Rodrigo)

Wow, how cool. Yeah, I guess it isn't hard, that's one of the things I'd been procrastinating for quite some time. I'm maybe a bit purist, I used to be more of the kind... “I don't need a large setup to get the things done, most projects don't need to be so complicated” (I'm still a bit like that), but with tools such as Svelte I have changed my mind a bit about that.

What about you.... what is that thing you haven't learned, but you feel you should?

Thread Thread
 
therubberduckiee profile image
Jessica Wang

Well... Svelte. LOL.

I work as a developer advocate for Warp, which is why I post so many blogs around the terminal. So there are a lot of things around the command line I wish I knew better. Vim keyboard shortcuts, Neovim setup with Lua, third-party applications like fzf or exa, etc.

Thread Thread
 
schemetastic profile image
Schemetastic (Rodrigo) • Edited

Well, Svelte is dead easy to learn, in a few hours you can learn the fundamentals. For me, now it feels like one of those tools I couldn't live without.

Hahaha, oh my. You are really taking it serious, well, for sure you are productive, kudos.

By the way, I tried your trivia game... I didn't search the answers at Google, and I didn't use ChatGPT... I only looked at the source code... does that counts as cheating?

A violet text that says “You got 10 questions correct!”

Thread Thread
 
therubberduckiee profile image
Jessica Wang

haha YES. THAT'S CHEATING!

But clever cheating.

Collapse
 
fyodorio profile image
Fyodor

I actually like the topic of building node CLIs 👍 something more sophisticated would be interesting, like generating some code, or processing file system data — kinda dev tools and utilities — we all need some custom stuff from time to time

Collapse
 
therubberduckiee profile image
Jessica Wang • Edited

Hey! Yeah I've been wanting to do more complicated stuff. I'm been looking more into creating art on the command line though, more so than what you mentioned. We'll see where my ADHD brain takes me though - stay posted.

Collapse
 
sep89089 profile image
sa3i0l

firebase

Collapse
 
therubberduckiee profile image
Jessica Wang

Same

Collapse
 
tigawanna profile image
Dennis kinuthia

Best devrel , your content is always 👌

Collapse
 
therubberduckiee profile image
Jessica Wang

awww... that really means a lot <3