Category: terminal

invalid active developer path (/Library/Developer/CommandLineTools)

Go to OSX Daily to read invalid active developer path (/Library/Developer/CommandLineTools)

Some Mac Terminal users may discover git, pip, HomeBrew, and other command line tools may fail or not work as intended with an error message stating “xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)”. Sometimes these command line tools stop working after a macOS system software update, but they worked previously.

Fortunately it’s easy to fix the “xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)” error message, and get git, pip, Homebrew, or whatever other command line tool that failed,…

Read more: invalid active developer path (/Library/Developer/CommandLineTools)

How to Reset MacOS Password with Terminal

Go to OSX Daily to read How to Reset MacOS Password with Terminal

Can’t log in to your Mac because you forgot or lost your user password? That can be stressful, but don’t freak out quite yet. Whether it’s your primary admin password or password to a standard user account on someone else’s mac, you can reset it in a couple of minutes.

While you can use an Apple ID to quickly reset a Mac password, that’s simply optional and not enabled by default, so many Mac users may not even be aware that is an option, let alone have it enabled. In such cases, if you forget your user password, you’ll have to resort to other ways…

Read more: How to Reset MacOS Password with Terminal

Make an Intel Mac Boot Directly to Startup Manager

Go to OSX Daily to read Make an Intel Mac Boot Directly to Startup Manager

If you have an Intel Mac, you can make it boot directly into the boot disk options startup manager by issuing an nvram terminal command. This could be helpful for advanced users in particular whether they’re troubleshooting, have dual boot situations with multiple versions of macOS, macOS and Windows 10 in Boot Camp, macOS and Linux, for accessing a USB boot drive, a Time Machine restore disk, or myriad other situations where you’d want to boot a Mac directly into the startup manager.

Whether or not this is easier or faster than booting an Intel Mac from an…

Read more: Make an Intel Mac Boot Directly to Startup Manager

How to Update Homebrew on Mac

Go to OSX Daily to read How to Update Homebrew on Mac

Want to update Homebrew and your packages? Of course you do! Homebrew is a popular package manager for Mac that easily allows users to install and manage command line tools, apps, and utilities, typically familiar with the Linux and Unix world. Because it’s a package manager, you won’t need to manually build anything from source either. Of course like any other software, Homebrew itself along with the command line tools get updated, so you might be wondering how to update Homebrew, and how to upgrade Homebrew packages to newer versions.

We’ll cover the…

Read more: How to Update Homebrew on Mac

How to Make a MacOS Big Sur ISO File

Go to OSX Daily to read How to Make a MacOS Big Sur ISO File

Some advanced users may wish to create an ISO file of the macOS Big Sur installer file (or MacOS Catalina installer, or MacOS Mojave installers for that matter). These can be useful for installing MacOS into virtual machines like VirtualBox and VMWare, and because the resulting installer is an ISO file it can be helpful for creating an alternative installer media whether on an SD Card, external hard drive, USB flash key, or similar, especially when the typical approach to creating a bootable USB installer drive for MacOS Big Sur is not viable or possible.

Read more: How to Make a MacOS Big Sur ISO File

How to Run Homebrew & x86 Terminal Apps on M1 Macs

Go to OSX Daily to read How to Run Homebrew & x86 Terminal Apps on M1 Macs

If you’re one of the early adopters who acquired an M1 Apple Silicon Mac and find that Homebrew and many other x86 terminal apps don’t yet have support for the new Arm architecture, you’ll be happy to know there’s a fairly simple workaround.

The trick is to run a parallel Terminal application through Rosetta. And yes that means you’ll need to install Rosetta on the Apple Silicon Mac first, if you haven’t done so already.

How to Run x86 Homebrew & Terminal Apps on Apple Silicon Macs

Here’s the workaround until native support arrives:

  1. Locate the…

Read more: How to Run Homebrew & x86 Terminal Apps on M1 Macs

How to Copy at Command Line Showing Progress & Speed Indicator

Go to OSX Daily to read How to Copy at Command Line Showing Progress & Speed Indicator

Ever wished you could see the transfer progress and speed of copying files at the command line? If you’re familiar with the command line of Mac OS, Linux, or any other Unix operating system, you likely use the ‘cp’ or ditto commands to copy files, directories, and other data. The ditto and cp command is great, but one downside is that cp does not include a progress indicator, and that’s what we’re going to resolve here by creating an alias to use an rsync command with a progress indicator to copy data at the command line.


Obviously this is aimed at…

Read more: How to Copy at Command Line Showing Progress & Speed Indicator

How to Create macOS Big Sur Beta Bootable USB Install Drive

Go to OSX Daily to read How to Create macOS Big Sur Beta Bootable USB Install Drive

Advanced Mac users often want to make a boot disk installer for macOS Big Sur beta, allowing for something like a USB flash drive to be used to boot and install macOS Big Sur onto any compatible Mac.

Bootable MacOS installer USB drives provide for the ability to clean install macOS Big Sur, update to macOS Big Sur, install macOS Big Sur beta onto multiple Macs without redownloading the installer, as well as the ability to use Disk Utility to partition and erase a machine, perform Time Machine restorations, and more.

If you’re interested in creating a macOS Big…

Read more: How to Create macOS Big Sur Beta Bootable USB Install Drive

How to Convert a MacOS Installer to ISO

Go to OSX Daily to read How to Convert a MacOS Installer to ISO

Advanced Mac users may wish to convert a MacOS Installer application into an ISO file. Typically the resulting installer ISO files are used for installing macOS into virtual machines like VMWare or VirtualBox, but they can also be used to burn the ISO to media to create a boot disk. This offers an alternative to creating a bootable USB flash drive for MacOS installers as well.

This tutorial will walk through the steps to create an ISO file of a MacOS installer.


In this particular walkthrough, we’ll be converting a MacOS Mojave installer application into an…

Read more: How to Convert a MacOS Installer to ISO

What Are Relocated Items in macOS Catalina & Can I Delete Them?

Go to OSX Daily to read What Are Relocated Items in macOS Catalina & Can I Delete Them?

If you have updated to MacOS 10.15 Catalina or later from an older version of Mac OS, you might find a new folder on your Desktop called “Relocated Items”. The Relocated Items folder can be confusing and look scary, especially if you aren’t expecting to see it. But you needn’t worry – the folder is a perfectly normal part of the MacOS upgrade process. Read on to learn what the Relocated Items folder on the Mac desktop or in the Shared folder of User folder is, and what you can do with it.

What is the “Relocated Items” in MacOS

Though it’s not…

Read more: What Are Relocated Items in macOS Catalina & Can I Delete Them?