Stop paying for Mac cleaners: Use this free command-line tool instead

1 day ago 6
M5 MacBook Pro
Kerry Wan/ZDNET

ZDNET cardinal takeaways

  • There's nary request to acquisition pricey apps to cleanable your Mac.
  • Mole is simply a command-line instrumentality that does a large job.
  • Mole is escaped and tin beryllium installed with Homebrew.

Because I enactment with a batch of video, my Mac drives tin capable quickly. When that happens, things tin get a spot tricky. The instrumentality mightiness dilatory down, oregon I won't beryllium capable to make oregon prevention files.

Before that concern arises, I similar to cleanable my Mac drives of unnecessary items. When I bash that task, I crook to a useful command-line instrumentality called Mole.

Also: I've tried astir each browser retired determination and these are my apical 4 (spoiler: nary are Chrome)

Mole heavy cleans and optimizes your Mac, without you having to instal costly solutions. Sure, if you're not utilized to moving with the bid line, you mightiness consciousness a spot daunted… don't. Mole is really rather casual to use.

I privation to amusement you however to instal and usage Mole.

Installing Homebrew

What you'll need: To instal and usage Mole, you'll request an up-to-date Mac. That's it. Let's get cleaning.

The archetypal happening to bash is click the Launch Pad icon connected your dock, hunt for Terminal, and click to unfastened the app.

Show more

To instal Homebrew, contented the pursuing command:

Show more

/ bin / bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Note: Remove the spaces aft the archetypal 2 / characters.

Also: A MacOS 26 bug bricked my $3,700 Mac Studio - here's however I miraculously got it back

If you're moving a Mac with Apple Silicon, you'll request to tally the following:

echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"

To tally Homebrew, you'll request to adhd the installed bid to your $PATH, which is done with the pursuing command:

Show more

echo "export PATH=/opt/homebrew/bin:$PATH" >> ~/.bash_profile && root ~/.bash_profile

You're present acceptable to instal Mole.

Installing Mole

Within the terminal app, instal Mole with the command:

brew instal mole

That should bash the trick. You're present acceptable to usage Mole.

Using Mole

To usage mole, contented the command:

mole

When Mole opens, you'll spot a text-based paper which lists:

  • Clean
  • Uninstall
  • Optimize
  • Analyze
  • Status

First, prime 1 (Clean), and you'll past beryllium prompted that the enactment requires sudo. Hit Enter connected your keyboard, and you'll beryllium prompted for your sudo password.

Also: I tested section AI connected my M1 Mac, expecting magic - and got a world cheque instead

Mole volition statesman a heavy scan of your system. Depending connected however overmuch information you person successful your system, this could instrumentality immoderate time. Give Mole clip to implicit the process.

When the scan completes, Mole volition study connected however overmuch it cleaned. In my case, Mole cleared up 19.85GB of space. Yeah, it's beauteous effective.

You tin besides usage Mole to optimize and analyse your system. The Mole optimizer does the following: rebuilds strategy databases, clears diagnostic logs, resets web services, cleans up swap files, and refreshes Spotlight indexing. Again, the optimization volition instrumentality immoderate time, truthful let it to implicit its task.

Also: M3 MacBook Air vs. M2 MacBook Air: Which Apple laptop should you buy?

After you done conscionable these 2 things, you should find that your Mac runs amended and has much escaped space. 

Mole should beryllium considered a indispensable for those who similar to support their Macs escaped of unnecessary files and optimized to tally efficiently. 

Install this escaped app today.

Read Entire Article