惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Schneier on Security
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
T
Threat Research - Cisco Blogs
C
Cyber Attacks, Cyber Crime and Cyber Security
C
CXSECURITY Database RSS Feed - CXSecurity.com
A
Arctic Wolf
Security Latest
Security Latest
Simon Willison's Weblog
Simon Willison's Weblog
I
Intezer
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
T
Troy Hunt's Blog
Latest news
Latest news
Help Net Security
Help Net Security
S
Security Affairs
Webroot Blog
Webroot Blog
The Hacker News
The Hacker News
AI
AI
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
T
Tor Project blog
Forbes - Security
Forbes - Security
Google DeepMind News
Google DeepMind News
AWS News Blog
AWS News Blog
Attack and Defense Labs
Attack and Defense Labs
P
Proofpoint News Feed
www.infosecurity-magazine.com
www.infosecurity-magazine.com
H
Help Net Security
L
Lohrmann on Cybersecurity
S
SegmentFault 最新的问题
Google Online Security Blog
Google Online Security Blog
MongoDB | Blog
MongoDB | Blog
Cyberwarzone
Cyberwarzone
The Last Watchdog
The Last Watchdog
S
Securelist
N
News and Events Feed by Topic
S
Secure Thoughts
F
Fortinet All Blogs
博客园_首页
C
Cybersecurity and Infrastructure Security Agency CISA
量子位
M
MIT News - Artificial intelligence
F
Full Disclosure
T
The Blog of Author Tim Ferriss
T
Tailwind CSS Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Microsoft Security Blog
Microsoft Security Blog
I
InfoQ
P
Privacy International News Feed
L
LangChain Blog
Know Your Adversary
Know Your Adversary
C
CERT Recently Published Vulnerability Notes

Latest news

LG G6 vs. LG G5: I compared the latest OLED TV models, and it's a surprisingly tough choice I saw the 'MacBook Pro for Linux users' for the first time, and it's a legit Windows threat I'm putting Motorola above Samsung when it comes to flip phones - and won't think twice I tested Surfshark's new Dausos VPN protocol - here's how it compares to WireGuard How to easily encrypt your files on an Android phone - for free I'm not giving up on DJI cameras yet - not when they can upset my GoPro like this The best website builders for small businesses in 2026: Expert tested and reviewed Why I'm recommending last year's phones over 2026 models - with one exception This powerful Gemini setting made my AI results way more personal and accurate After testing this HP laptop, I get why its 'boring' design is adored by business users The best TV antenna of 2026: Expert tested Your old iPad or Android tablet can be your new smart home panel - here's how Apple's original AirTag still tracks effectively, and you can get a 4-pack for its best price ever T-Mobile will give you an iPad for $99 when you sign up for a new line - here's how How to qualify for Apple's education discount - and get a $499 MacBook Neo for school T-Mobile will give you a Samsung Galaxy Watch 8 for free - how to get yours Prolonged AI use can be hazardous to your health and work: 4 ways to stay safe Verizon will give you a free iPad or Apple Watch with your next iPhone - how the deal works The best laptops of 2026: Expert tested and reviewed I hid 4 Bluetooth trackers (including AirTags) to test their reliability - here's how Android rivals compared I stopped using my iPhone's hotspot after testing this 5G router - and that won't change The best Kindles in 2026: Expert recommended Does Best Buy price match? Everything to know about matching prices online and in-store The best WordPress hosting services of 2026: Expert tested and reviewed The best Apple Watch of 2026: Expert tested and reviewed The best TV screen cleaners of 2026: Expert recommended The best 50-inch TVs of 2026: Expert tested I traded my Sonos Era 300 for Denon's new home speaker - and see no reason to go back AI-powered website builders have come a long way - here's your best option in 2026 Amazon just slashed $250 off the Google Pixel 10 - and a Prime subscription isn't required I found the apps slowing down my PC - how to kill the biggest memory hogs These companies are actually upskilling their workers for AI - here's how they do it Verizon will give you Meta Ray-Bans for free with this Fios Internet deal - how to get yours I tried the new Gemini app for Mac - it has one major advantage over the web version How Google's updated AI Mode will ease your tab clutter when you search Why this MagSafe battery pack is our readers' favorite model right now - especially at its price T-Mobile will give you a Google Pixel 10a for free - plus an extra gift OpenAI's Codex Desktop can run your computer now - and has its own browser Want to build a startup that gets acquired? This founder shares 5 proven tips Google to pay $135M settlement to Android phone users - how to claim your share if you qualify Want to stand out on LinkedIn? Try this career strategist's top 3 tips for strengthening your profile I've used Dell's new XPS 16 for a week, and it's the Windows laptop to beat in 2026 You can get 50% off YouTube Premium for 1 year right now - but the deal ends soon Tidal vs. Qobuz: I tried both hi-res streaming services, and they couldn't be more different This stroller turns into a carry on-suitcase, and I recommend it for traveling parents The best small business VoIP providers of 2026: Expert tested and reviewed Protect your devices with our pick for the best antivirus software, now over 60% off MacBook Neo vs. Surface: Why spiraling RAM prices are bruising Microsoft's PC business but not Apple's I tried Google's new desktop app for Windows, and I'll never search the old way again Microsoft's Windows 11 laptop deal for students comes with a $500 bonus - what's included You can buy an LG B5 OLED for $1,500 off at Best Buy - and it comes with a free 4K TV Why Zorin OS 18.1 is simply the best Linux distro - for anyone Why Netgear just got the first FCC router ban exemption in the US Microsoft's latest Windows update now confirms if your PC is Secure Boot-protected - how it works Can this $70 Linux app make up for the lack of Photoshop? I tried it to find out 'Like handing out the blueprint to a bank vault': Why AI led one company to abandon open source iPhone charging slowly? 6 quick fixes to try before blaming your battery Roku TV vs. Fire Stick: Why I'm looking beyond streaming resolution when comparing the two AI is getting better at your job, but you have time to adjust, according to MIT The best internal communication tools of 2026: Expert tested and reviewed Half of all US employees use AI at work now - and waste almost 8 hours a week doing it The latest Google Home update brings Gemini fixes that I'm actually excited to try again I've been subscribed to a data removal service a month now - what I wish I knew sooner You can use Linux 7.0 on these 7 distros today - here's what to expect How I share audio from my Android phone to multiple earbuds (and why it's a big deal) Why the Apple Watch's 20-minute calibration test is worth your time - especially if you're data curious I used the 'Plus Five' rule to fix my iPhone's slow wireless charging - here's how it works I tested Artix Linux: An enjoyable systemd-free distro for experienced users (and ChromeOS speeds) I camera-tested the Samsung Galaxy S26 Ultra with Oppo and Xiaomi - this model won it for me How I boosted my portable solar panels' power by up to 30% - 11 expert-approved tips I see why Ubuntu 26.04 is more than just a performance bump for thrill-seeking gamers As an Android user, this MagSafe wallet is the clearest reason why Qi2 magnets shouldn't be ignored The best Zoom alternatives in 2026: Expert tested and reviewed KDE Linux is the purest form of Plasma I've used in months - but there's a catch LG C6 vs. LG C5: Why the 2025 model is still the smarter OLED TV model buy for me How I disabled 'fast startup' on my Windows 11 laptop to stop overnight battery drain 30 years later, I returned to Enlightenment Linux to test the Elive beta - and it's much better Here's my favorite email trick for cleaning up inbox clutter - automatically The $30 Google TV stick may be the budget Chromecast successor we've been waiting for The best AR and MR glasses in 2026: Expert tested and reviewed This handy electric screwdriver is now 50% off - here's where to snag the deal This Ryobi yard essentials bundle packs a free power tool - how to get yours After trying these boomless headphones in the office, I'm feeling hopeful for the future of work tech I used this EcoFlow battery to run my 3,000-sq-ft home in a blackout - here's how it kept my AC on Microsoft's Windows Insider Program is no longer a confusing mess Forget Shokz: I tried the Suunto Spark earbuds for a month, and they've sold me on air conduction iOS 26.4 brings essential upgrades to your iPhone - including a vital security fix YouTube Premium is getting a price increase in June - but you can save $32 with one change Your router may be vulnerable to Russian hackers, FBI warns: 5 steps to take now I walked 3,000 steps with my Apple Watch, Google Pixel, and Oura Ring - this tracker was most accurate I stopped guessing which AA batteries are dead - this charging station keeps them in check for me My favorite Android Auto find is these hidden shortcuts that are highly customizable AirDrop is coming to older Samsung phones - is yours supported? How to get it early I'm no longer using Google Photos as just a cloud storage - 5 tools that elevate the app The best data removal services of 2026: Expert tested and reviewed The best Samsung TVs of 2026: Expert tested and reviewed The best mobile scanning apps of 2026: Expert tested and reviewed The best HP laptops of 2026: Expert tested and reviewed After using Lenovo's new Yoga laptop, I'm wondering if Windows makers are running out of ideas Samsung S95H vs. Samsung S95F: I compared the OLED TVs and wasn't prepared for the upset
5 MacOS command line tools I swear by over their GUI counterparts
Written by · 2026-05-05 · via Latest news
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.

Featured