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


MacBook Air M5 (15-inch)

Kyle Kucharski/ZDNET

Follow ZDNET: Add us as a preferred source on Google.


ZDNET’s key takeaways

  • If you want fast and efficient, the command line is the way to go.
  • MacOS has plenty of handy CLI tools ready to be used.
  • Each of these tools is free and easily installed.

I know what you’re thinking: “MacOS is all about user-friendliness and GUI apps.” Although that may be true, you’d be remiss if you didn’t at least know about some of the terminal apps that are available to the OS.

These terminal apps are lightweight, reliable, and much easier to use than you might think. Sure, you have to type (as opposed to point-and-click), but once you understand how these tools work, you might find them more efficient than their GUI counterparts.

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

If you’re still questioning this idea, keep reading and see if any of these tools might tempt you to open the MacOS terminal app. 

1. pandoc

Have you ever needed to convert a file from one type to another, but didn’t want to have to open the GUI, open the file, convert the file, and then close the app? If that sounds like you, then you’ll be happy to know that there’s a command-line tool called pandoc, that makes this process easier.

Pandoc is available as a pkg installation package that you can download from the official GitHub site. Double-click it and follow the simple instructions. Or, if you have Homebrew installed, you can add Pandoc with the command:

brew install pandoc

Once installed, pandoc is simple to use. Open the terminal app, change into the directory housing the file to be converted (such as cd Documents), and run the command:

Let’s say you want to convert a .txt file to a .docx file. The command for this would be:

pandoc -s file.txt -o file.docx

You can see a complete list of conversion commands on the official pandoc examples page.

2. taskwarrior

Taskwarrior is a command-line to-do list app that allows you to manage a list of tasks in a fast and efficient way. You can add tasks, view tasks, and mark tasks as done. Although it doesn’t have all the bells and whistles of a GUI app, taskwarrior doesn’t get in your way, nor does it complicate things.

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

To install taskwarrior, you have to have Homebrew installed and then add the app with:

brew install taskwarrior-tui

Here’s how it works. Say you want to add a task to do the dishes. The command for this would be:

task add Do dishes

Once you’ve done that, you can list your tasks with:

task list

Each task is assigned an ID (first column). Using that ID, you can append to a task like this:

task appended ID and client toilets

Where ID is the ID of the task to be deleted.

If you list the tasks, you should see the task with the appended information added.

When a task is complete, you can remove it with:

task done ID

Where ID is the ID of the task to be deleted.

To find out all you can do with the task (there’s quite a bit), make sure to read the manual with the command:

man task

3. Ollama

I’ve written extensively about Ollama, and knew it would be one of the command-line utilities in this list. Ollama is a local AI that you can install, pull any of the supported models for use, and then run your queries from the terminal app. It’s powerful, and because it’s installed locally, it’s private and doesn’t place a burden on the power grid.

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

When you install Ollama on MacOS, you can either install the GUI app and use the command line, or you can simply install the command-line tool only using Homebrew, like so:

homebrew install ollama

Once installed, pull a model with the command:

ollama pull MODEL

Where MODEL is the model you want. You can find a list of available models on the official Ollama site. Say you want to pull the gpt-oss:20b model, which can be done with:

ollama run gpt-oss:20b

You can then run the model with:

ollama run gpt-oss:20b

At the Ollama prompt, you can then run your queries as you normally would.

4. ag

The ag command allows you to search for strings within files. Even better, ag searches multiple files for the same string. Say you have a bunch of text files in your Documents directory and you need to know which of them contain ZDNET. The ag command will not only tell you which files contain the string, but it’ll do it very quickly.

The ag command is a part of the_silver_searcher package and can be installed with Homebrew like so:

brew install the_silver_searcher

Once installed, you could search those files by changing into the directory containing them (such as cd Documents) and then running the search like this:

ag ZDNET

The results will list which files contain the string.

5. yt-dlp

Do you ever need to download videos from YouTube? If so, you’ll be glad to know that there’s a command-line tool for that, called yt-dlp. This app is fast and regularly updated (so it’ll stay ahead of any changes YouTube makes that might prevent it from working).

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

Yt-dlp can be installed (along with the required ffmpeg) with Homebrew, like so:

brew install yt-dlp ffmpeg

Once installed, you can download YouTube videos (subject to rights, of course) with the command:

yt-dlp URL

Where URL is the URL of the video to be downloaded.

If you only want the audio, the command would be:

yt-dlp -x –audio-format mp3 URL

And that’s it.





Source link

Leave a Reply

Subscribe to Our Newsletter

Get our latest articles delivered straight to your inbox. No spam, we promise.

Recent Reviews






We may receive a commission on purchases made from links.

For TV owners, High-Definition Multimedia Interface (HDMI) technology is the gateway to accessing endless content and maximizing your viewing experience. Whether it’s watching films from physical media, streaming content via your preferred subscription platform, or playing games, there are plenty of gadgets you can connect for the perfect entertainment setup in your home.

Apart from investing in the right HDMI cable, choosing the right port makes all the difference. Depending on how old your TV is, you can expect anything from the legacy HDMI 1.0 to even the most recent HDMI 2.2. However, while there’s a big jump in terms of quality between HDMI 2.1 and 2.0, there are plenty of gadgets that can still work perfectly with your HDMI 2.0 port. This is great news if you aren’t so particular about getting the best picture possible. In fact, unless you’re a hardcore gamer or have a TV made for high resolution, it’s likely you’ll be able to get the most out of what you already have without HDMI 2.1 or 2.2 ports.

To help you get the most out of your existing HDMI 2.0 port, we’ve listed broad categories of gadgets that work with it. Next, we share specific models that either maximize the port’s capabilities or still offer a great viewing experience despite the bandwidth limits. To learn how we selected the models that work well with HDMI 2.0 ports, you can skip to our methodology at the end.

1. Streaming sticks

If you own an older TV model but don’t want to trash it yet, streaming sticks are among the most affordable ways to access modern entertainment options on a budget. In fact, the HDMI 2.0 port will already let you maximize the performance of even newer streaming sticks, like the Fire TV Stick HD, which supports 1080p Full HD. So, if your TV can’t do 4K anyway, you don’t really need to get a more expensive model. An Amazon’s Choice product, the Amazon Fire TV Stick HD has an average rating of 4.7 stars from more than 62,000 reviewers.

While many newer smart TVs have built-in streaming capabilities, there are still many benefits to using a streaming device, such as regular security updates. These days, many streaming sticks are marketed as 4K-capable, like the Amazon Fire TV Stick 4K. While we’ve recommended plugging it into an HDMI 2.1 port for the best experience, an HDMI 2.0 port is also perfectly fine for most modern 4K movies and shows. If you have the extra budget, it can be an investment for future upgrades. As of March 2026, over 75,000 Amazon users have rated the Fire TV Stick 4K Max an average of 4.6 stars. However, you can also consider options like the Roku Express 4K, Apple TV 4K, and Google TV Streamer 4K.

2. Sync boxes

There’s something incredibly dramatic about having the lights match the scenes on your TV, and you can do that with a sync box. Whether you’re watching a movie, playing games, or listening to music, sync boxes help elevate your entertainment experience. While many of the latest sync boxes are designed for HDMI 2.1 ports, these are generally backwards compatible with HDMI 2.0 ports, so you can still enjoy them with their reduced capacity, such as the Philips Hue Play HDMI Sync Box 8K, which generated an average rating of 4.2 stars from more than 230 Amazon customers.

Priced at $384.99, you can connect up to 4 input devices. Unless you buy a kit, there’s also the price of the lights, which will vary depending on your screen size. The Philips Hue Play Gradient Smart TV Light Strip is available in three sizes: 55-inch ($274.99), 65-inch ($296.99), and 75-inch ($329.99). In general, many people seem quite satisfied with it, as over 2,000 Amazon users rated it 4.3 stars. 

Lastly, you will need to factor in the cost of the Philips Hue Bridge, which lets you enjoy its integration with smart home ecosystems, like Amazon’s Alexa, Google Home, and Apple HomeKit. With over 11,200 Amazon reviews, it has generated a pretty positive 4.5-star rating. Given that it tops our list of smart lighting brands, it can be a great investment if you’re already using other Philips smart lights in your home.

3. DVD and Blu-ray players

Although many people have turned to streaming to optimize their content viewing, there are still people who like owning physical media. Whether you’re a film buff, a parent of young children, an elderly person, or just someone who doesn’t want to deal with subscriptions, owning a DVD or Blu-ray player can keep all your favorite TV shows and films within reach, without the need for internet connectivity. For many old DVDs and some Blu-ray discs, they don’t max out HD resolution anyway, so you’re likely to get the most out of their content with even the older HDMI 2.0 port. In fact, even premium 4K Ultra HD Blu-ray players run flawlessly on HDMI 2.0.

On Amazon, the #1 Best Seller in its DVD category is the ELECTCOM PRO DVD Player, with over 40,300 customers rating it 4.2 stars on average. With prices starting at $41.99, it comes in different set variations that include HDMI and RCA cables, and even remote controls with large buttons designed for the comfort of seniors. But take note, this model doesn’t support Blu-ray discs. Alternatively, there’s the Panasonic Blu-ray player that retails for $89.95.An Amazon’s Choice product, more than 2,100 users gave it an average rating of 4.4 stars. Apart from playing Blu-ray discs, it can also work with CDs, DVDs, and even compatible files on your thumb drive, such as photos and videos. You may even find similar media players in secondhand or vintage stores if you’re on a tighter budget.

4. Gaming consoles

For gamers who get a little overstimulated with the latest releases, the HDMI 2.0 port already lets you experience games that run on 4K at 60 fps. So, if you’re one of those people who still enjoy older-generation consoles, like the PlayStation 4 Pro or Xbox One S, you’ll be happy to know it’s built to work perfectly with the HDMI 2.0 port. These days, you can still get secondhand models of the PlayStation 4 Slim 1TB ($199.99) or the PlayStation Pro 1TB ($240.95) from the official PlayStation store on Amazon. Despite being released years ago, both models still enjoy an average rating of at least 4.6 stars from more than 12,000 Amazon customers.

Among the devices that should always be plugged into an HDMI 2.1 port, many newer gaming consoles can benefit most from high resolution and 120Hz frame rates. But, since HDMI 2.0 supports 4K resolution at 60 frames per second, a powerful console like the Sony PlayStation 5 will still run massive, modern AAA games flawlessly in stunning ultra-high definition. Despite its price tag, it boasts a ton of satisfied customers with 2,400+ Amazon users rating the PlayStation 5 Pro around 4.6 stars.

5. HDMI switch

If you find yourself attaching several devices to your TV via the HDMI port, you may need to use an HDMI switch to free up space, like the UGREEN HDMI Switch. An Amazon’s Choice Product, it boasts a positive 4.3-star rating from 5,200 customers. Available in two colors, the switch comes in black or grey with discounts for Amazon Prime customers. With 5 input ports, you can connect all kinds of devices, such as the ones above: PCs and laptops, streaming sticks, and TV boxes. To switch devices, you can either press the buttons on the unit or use the remote, which is powered by two AAA batteries. The unit itself has an LED indicator that shows which device is active. On the other hand, its single output port is compatible with displays such as TV screens, monitors, and projectors.

But, if you’re on a budget and only really need one extra slot, the Anker HDMI Switch might be better for you. An Amazon Overall Pick product, the Anker HDMI Switch has an average rating of 4.5 stars from more than 4,000 customers. Priced at $15.99, this HDMI switch measures just 2.17 inches by 2.17 inches by 0.57 inches, so you can easily take it with you when you’re traveling, too. It comes with a pair of input ports and a single output port for displays. Unlike the UGREEN model, this doesn’t need an external power supply.

Methodology

To help you understand what your HDMI 2.0 port can do, we’ve highlighted gadgets that either maximize its capabilities or provide a great experience despite the port’s bandwidth limits. We selected devices that have averaged at least four stars from more than 200 reviewers, indicating a general trend of user satisfaction. While it didn’t affect their inclusion on the list, we also noted whether they are top-selling products in their respective categories and mentioned additional features you may enjoy beyond their primary functions.





Source link