Command Line

The command line interface is an alternate method of interacting with macOS and Mac OS X, relying on text based command entry to execute commands and perform tasks. It is accessed on the Mac by using the Terminal application. Generally, the command line is considered advanced, and thus it’s usage tends to be more complex than many standard procedures on a Mac.

Search Command Line

How to Install Command Line Tools in macOS Sequoia & Sonoma

Sep 30, 2024 - Leave a Comment
Downloading and installing Command Line Tools

Command Line Tools are an optional component of Xcode that bring a variety of advanced utilities to the Mac command line, including compilers, debuggers, and other essentials for software development and command line tinkering. But not everyone has to be a developer to require Command Line Tools be installed on their Mac, because the suite … Read More

How to Run Llama LLM on Mac, Locally

Aug 22, 2024 - 8 Comments
How to install Ollama on Mac

Llama is a powerful large language model (LLM) developed by Meta (yes, the same Meta that is Facebook), that is able to process and generate human-like text. It’s quite similar to ChatGPT, but what is unique about Llama is that you can run it locally, directly on your computer. With a little effort, you’ll be … Read More

Fix brew Error “The arm64 architecture is required for this software” on Apple Silicon Mac

Jul 6, 2024 - Leave a Comment
Arm64 architecture required for this software error in Homebrew on Apple Silicon Mac

If you have used Homebrew to try and install a particular package onto an Apple Silicon Mac and you see an error message stating “The arm64 architecture is required for this software” that prevents the installation of the package, you might be surprised by this error message given that you’re using an Apple Silicon Mac … Read More

How to See Individual Core CPU Usage on Mac with powermetrics

Jul 5, 2024 - 1 Comment
powermetrics CPU core activity

There are various ways to monitor CPU usage on a Mac, with perhaps the two most common being with Activity Monitor on the graphical interface side of things, and htop or top on the command line side. While you can show an optional core graph in Activity Monitor, and htop will show CPU core activity … Read More

How to Update Node.js to Latest Version on Mac

Jul 2, 2024 - 1 Comment
Mac Terminal icon

If you use Node.js for web development, creation of web apps, and javascript based network applications, you undoubtedly may come across situations where you’d like to make sure that the latest version of Node.js is installed on your Mac. Upgrading to the latest version of Node.js means you’ll have access to the most recent features … Read More

How to Check Disk Health on Mac with smartctl

Apr 10, 2024 - 3 Comments
smartctl for checking Mac drive health

There are various ways to check the health of a hard disk drive (HDD) and solid state drive (SSD) that is used on a Mac with drives that support SMART, which stands for Self-Monitoring Analysis Reporting Technology. These options range from fairly simple using Disk Utility to check the SMART status of a drive, to … Read More

How to Convert MOV to MP4 on Mac Free with ffmpeg

Apr 4, 2024 - 6 Comments
Convert MOV to MP4 with ffmpeg

If you have a video file in MOV format, you may wish to convert the MOV video to MP4 format instead. While there are a variety of methods for converting MOV to MP4, the approach we’re going to address here is by using the command line, with a super easy to use and free tool … Read More

How to Install Windows WSL (Windows Subsystem for Linux)

Mar 31, 2024 - Leave a Comment
Installing Windows WSL

If you’re a Windows user, whether on a PC, in a dual boot environment with Boot Camp on an Intel Mac, or you’re running Windows 11 in a virtual machine on an Apple Silicon Mac, you may have an interest in installing Windows Subsystem for Linux, or WSL. Windows Subsystem for Linux puts a full … Read More

Fix “warning: unable to access /Users/Name/.config/git/attributes Permission Denied” Errors

Mar 30, 2024 - Leave a Comment
See permissions of the git config directory which is the cause of the error message

If you’re at the command line and perhaps interacting with Homebrew, Git, or similar, you may run into an error message that says something like the following “warning: unable to access /Users/Name/.config/git/attributes” : Permission denied”. This error message sounds more alarming than it is in most cases, but regardless, you likely want to fix the … Read More

Use the Terminal cheat Tool to Generate CheatSheets for Commands

Mar 14, 2024 - 2 Comments
How to use the cheat command to generate cheatsheets for the command line on Mac

While there are some command line wizards out there who never need to look at references, search manual pages, defer to command lists, LLM queries, or web searches, the rest of us mere mortal commands line users can be helped by a really great tool called cheat. The cheat command is able to provide a … Read More

Setting the Default Web Browser from Command Line on Mac

Mar 8, 2024 - 2 Comments
Mac Terminal icon

Many advanced Mac users spend a lot of time working from the command line with the Terminal application. The command line offers ways to interact with various settings in MacOS through defaults commands and other tricks, so it’s a reasonable question to wonder if you can set or change the default web browser on a … Read More

How to Mount & Copy HFS Classic Mac Drives on MacOS

Feb 27, 2024 - 4 Comments
Copy classic Mac HFS drive data to modern MacOS

Modern versions of MacOS no longer support HFS, meaning that new Macs can no longer read, mount, or write to classic HFS drives. But a fair amount of longtime Mac users continue to have older Macs and old Mac hard drives that are in HFS format, way back from the days of Mac OS 8, … Read More

How to Stop “Upgrade to MacOS Sonoma” Notifications on Macs

Feb 13, 2024 - 10 Comments
Stop the notifications to upgrade to macOS Sonoma

Are you tired of seeing the “Upgrade to macOS Sonoma” notifications on your Mac running Ventura or Monterey? If so, you can hide those notifications and stop the “Upgrade to macOS Sonoma” nagging on your Mac. It’s not unusual for Mac users to continue running older versions of system software, well after a new version … Read More

How to Speed Up Auto-Showing/Hiding Dock on MacOS

Feb 12, 2024 - 17 Comments
The Mac Finder icon

A subtle way that you can tweak MacOS to make it feel a little faster is to speed up the auto-hiding and auto-showing time of the Dock. This obviously only applies to Mac users who hide their Dock by default, and the emphasis needs to be on feel faster because while this is removing a … Read More

How to Convert Images to Webp on Mac from Command Line

Jan 31, 2024 - 4 Comments
Convert image to webp from the command line on Mac

Do you need to convert images to webp format from the Mac? Converting images to WebP offers tremendous file size savings, often compressing an image up to 70% without losing image quality, so it’s understandable why many Mac users and web developers, designers, and workers would wish to convert and compress images into WebP format. … Read More

How to grep Match Two Strings in One Line, or Anywhere in File or Command Output

Nov 27, 2023 - 2 Comments
Mac Terminal icon

The command line grep tool is incredibly powerful and useful for searching for matches in files, sorting text and data, finding strings in large files, and so much more. One common situation many command line users may find themselves in, is seeking to grep match for two different strings in a single line. You can … Read More

How to Verify & Repair Mac Disk from Command Line

Nov 8, 2023 - Leave a Comment
Mac Terminal icon

The Disk Utility application on MacOS has a command line counterpart, that allows Mac users to run disk maintenance and disk administration tasks, including verifying and repairing disks. There are obvious advantages and benefits to using the command line for tasks like this, particularly for troubleshooting scenarios, and remote management, but some advanced users may … Read More

Native MacOS Docker Containers are Now Possible

Oct 13, 2023 - Leave a Comment
Native macOS Containers in Docker are now possible

Have you ever wished you could run native macOS Docker containers on macOS? Well, now you can, thanks to a great free project called macOS Containers. If you’re in the developer world at nearly any level, you likely have experience with Docker containers, which are wildly popular because of their utility. Offering a lightweight and … Read More

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

Tips & Tricks

News

iPhone / iPad

Mac

Troubleshooting

Shop on Amazon to help support this site