Celebrating 80th Independence Day of India• Jai Hind •Bharat Mata Ki Jai• Jai Hind •Long Live India• Jai Hind •Jai Hind• Jai Hind •

CLI vs GUI

Get all digital notes here

Ashutosh Anand Tiwari
By Ashutosh Anand TiwariPublished Sep 9, 2024 · 3 min read
CLI vs GUI

CLI ka full form hota hai Command Line Interface aur GUI ka Graphical User Interface. Dono tarike ke apps hote hain. Kuchh aisi applications hoti hain jinka interface nahi hota, jaise git. Git ko run karne ke liye command yaani terminal application use hoti hai. Jaise aapne likha git pull, iska koi GUI (graphical interface) nahi hai, saari cheezein commands se hi hoti hain, hai ki nahi?

Jaise ek aur library hai jiska koi UI nahi hai, lekin command ke through aap saare YouTube ke videos download kar sakte ho, iska link yeh hai: yt-dlp GitHub.

For example:


//first Python install kar lo from using the official website.
//Aur phir yeh code use karo:
yt-dlp -f "bestvideo[height<=1080]+bestaudio/best[height<=1080]" --merge-output-format mp4 -o "%(playlist_title)s/%(playlist_index)s - %(title)s.%(ext)s"

Baaki kaise install hota hai, yeh sab aap jaake inke Discord pe dekh sakte ho. Abhi ke liye itna jaan lo ki aisa possible hai, aur baaki hum aage dekhenge. To bas, yeh ek example tha CLI ka aur commands se kaam karne ka. Windows mein start button dabake cmd likho to ek CLI open ho jaata hai. Linux mein terminal hota hai, toh yahi sab hota hai.

Hum bhi aisi applications Node.js ki madad se bana sakte hain, CLI bana sakte hain. Jaise Operating Systems hote hain, kuch terminal-based hote hain jaise MS-DOS, UNIX, jo ki command-based interfaces hain (CLI). Aur inhi ke upar macOS aur Linux bane hain jo graphical user interfaces (GUI) hain. Windows bhi ek GUI, yaani Graphical User Interface, hai.

Aage Node.js mein bhi hum CLI use karenge. Aur front-end mein bhi aapne git toh use kiya hoga, hai ki nahi?

Continue Exploring

Profile

Ashutosh Anand Tiwari

Follow

Writer & curator of this digital garden — open notes for learners worldwide.

Request a Topic

Want me to write notes on a course?

Tell me the course, book, or research topic you want covered. If it helps learners, I'll consider adding structured digital notes for it in the garden.

Collaborate

Have a notes collection to feature here?

Do you have open notes you want featured in this digital garden? Let me know — we can collaborate and publish them for learners worldwide.