May 4, 2026
GstechZone
Tech

5 MacOS command line instruments I swear by over their GUI counterparts


MacBook Air M5 (15-inch)
Kyle Kucharski/ZDNET

Comply with ZDNET: Add us as a preferred source on Google.


ZDNET’s key takeaways

  • If you would like quick and environment friendly, the command line is the best way to go.
  • MacOS has loads of useful CLI instruments prepared for use.
  • Every of those instruments is free and simply put in.

I do know what you are considering: “MacOS is all about user-friendliness and GUI apps.” Though which may be true, you would be remiss should you did not not less than learn about among the terminal apps which might be accessible to the OS.

These terminal apps are light-weight, dependable, and far simpler to make use of than you may suppose. Positive, you must sort (versus point-and-click), however when you perceive how these instruments work, you may discover them extra environment friendly than their GUI counterparts.

Additionally: 6 MacOS settings I immediately change on every new Mac – and why

In case you’re nonetheless questioning this concept, maintain studying and see if any of those instruments may tempt you to open the MacOS terminal app.

1. pandoc

Have you ever ever wanted to transform a file from one sort to a different, however did not need to should open the GUI, open the file, convert the file, after which shut the app? If that sounds such as you, then you definitely’ll be joyful to know that there is a command-line device referred to as pandocthat makes this course of simpler.

Pandoc is out there as a pkg set up bundle you can download from the official GitHub site. Double-click it and observe the straightforward directions. Or, you probably have Homebrew put in, you may add Pandoc with the command:

brew set up pandoc

As soon as put in, pandoc is straightforward to make use of. Open the terminal app, develop into the listing housing the file to be transformed (comparable to cd Paperwork), and run the command:

To illustrate you need to convert a .txt file to a .docx file. The command for this may be:

pandoc -s file.txt -o file.docx

You possibly can see a whole checklist of conversion instructions on the official pandoc examples page.

2. taskwarrior

Taskwarrior is a command-line to-do checklist app that lets you handle an inventory of duties in a quick and environment friendly means. You possibly can add duties, view duties, and mark duties as executed. Though it does not have all of the bells and whistles of a GUI app, taskwarrior does not get in your means, nor does it complicate issues.

Additionally: How to decide between Linux and MacOS – if you’re ready to ditch Windows

To put in taskwarrior, you have to have Homebrew installed after which add the app with:

brew set up taskwarrior-tui

Here is the way it works. Say you need to add a job to do the dishes. The command for this may be:

job add Do dishes

As soon as you have executed that, you may checklist your duties with:

job checklist

Every job is assigned an ID (first column). Utilizing that ID, you may append to a job like this:

job appended ID and consumer bathrooms

The place ID is the ID of the duty to be deleted.

In case you checklist the duties, you must see the duty with the appended data added.

When a job is full, you may take away it with:

job executed ID

The place ID is the ID of the duty to be deleted.

To search out out all you are able to do with the duty (there’s fairly a bit), ensure to learn the handbook with the command:

man job

3. To be

I’ve written extensively about To beand knew it will be one of many command-line utilities on this checklist. To be is a neighborhood AI you can set up, pull any of the supported fashions to be used, after which run your queries from the terminal app. It is highly effective, and since it is put in domestically, it is personal and does not place a burden on the facility grid.

Additionally: The case for buying a MacBook Neo right now – especially for students

Whenever you set up Ollama on MacOS, you may both set up the GUI app and use the command line, or you may merely set up the command-line device solely utilizing Homebrew, like so:

homebrew set up ollama

As soon as put in, pull a mannequin with the command:

ollama pull MODEL

The place MODEL is the mannequin you need. You’ll find an inventory of obtainable fashions on the official Ollama site. Say you need to pull the gpt-oss:20b mannequin, which will be executed with:

ollama run gpt-oss:20b

You possibly can then run the mannequin with:

ollama run gpt-oss:20b

On the Ollama immediate, you may then run your queries as you usually would.

4. ag

The ag command lets you seek for strings inside recordsdata. Even higher, ag searches a number of recordsdata for a similar string. Say you may have a bunch of textual content recordsdata in your Paperwork listing and you’ll want to know which ones include ZDNET. The ag command is not going to solely inform you which recordsdata include the string, nevertheless it’ll do it in a short time.

The ag command is part of the_silver_searcher bundle and will be put in with Homebrew like so:

brew set up the_silver_searcher

As soon as put in, you could possibly search these recordsdata by becoming the listing containing them (comparable to cd Paperwork) after which operating the search like this:

ag ZDNET

The outcomes will checklist which recordsdata include the string.

5. yt-dlp

Do you ever must obtain movies from YouTube? If that’s the case, you may be glad to know that there is a command-line device for that, referred to as yt-dlp. This app is quick and often up to date (so it will keep forward of any adjustments YouTube makes which may forestall it from working).

Additionally: 9 essential Mac apps everyone should be using in 2026 – and why I vouch for them

Yt-dlp will be put in (together with the required ffmpeg) with Homebrew, like so:

brew set up yt-dlp ffmpeg

As soon as put in, you may obtain YouTube movies (topic to rights, in fact) with the command:

yt-dlp URL

The place URL is the URL of the video to be downloaded.

In case you solely need the audio, the command could be:

yt-dlp -x –audio-format mp3 URL

And that is it.





Source link

Related posts

Get a month of 5G Dwelling Web on T-Cell and $300 money again – this is how

Relationship Is a Wealthy Individual’s Sport Now

Good Cat Collars: Which Is Finest for Well being and GPS Monitoring?