TekRevue

  • HOME
  • MAC
  • macOS MOJAVE
  • iOS 12
  • WINDOWS
  • MOBILE
  • GAMES
  • REVIEWS
  • EDITORIALS
  • TIPS
    • Windows
    • Mac
    • Mobile
  • Twitter
  • Facebook
  • Google+
  • Feed
hide app mac

Mac

How to Hide Mac Apps in macOS via the Terminal

By Jim Tanous on December 10, 2018 at 7:12 AM • @JimTanous

Sometimes you may want to hide certain apps in macOS without actually uninstalling them. This may be because you still want access to the apps in the future, or because you don’t want users of the Mac to launch the app via Finder, or even when dealing with built-in Apple apps which aren’t always a good idea to remove.

Thankfully, macOS has some powerful file management features that allows users to easily hide (and later show) files and even apps. So if there’s a particular app that you want to hide, here’s how to do it.

Hide Mac Apps via Terminal

  1. Find the app you want to hide. In our example, we’ll use Microsoft OneDrive.
  2. hide apps mac

  3. Launch Terminal and use the following command, simply changing the corresponding app name to suit your own situation.
  4. sudo chflags -h hidden "/Applications/[App Name].app"

    hide apps mac terminal command

  5. Since this is a superuser command, enter your admin password when prompted. Once you do, the designated app will immediately disappear from Finder.
  6. hide apps mac hidden

  7. Note, however, that the app is merely hidden and not deleted. You can still access it via Spotlight, and it will still launch when opening an associated file type or if it’s configured to run at boot or via a script.

hidden app visible in spotlight

To unhide a hidden app, repeat the steps above but use the nohidden flag instead:

sudo chflags -h nohidden "/Applications/[App Name].app"

Hiding Protected Apple Apps

The steps above will work for most third party apps and even some Apple apps. But if you try it with certain built-in Apple apps like News or Safari, you’ll receive an “Operation not permitted” error. This is because certain apps are protected by System Integrity Protection (SIP), a security feature introduced in El Capitan that protects what Apple deems to be critical system files.

To hide or otherwise modify these protected apps and files, you’ll therefore need to disable SIP, at least temporarily. Once SIP is disabled, you can repeat the steps above to hide the desired built-in apps, and then re-enable SIP when you’re done to ensure that your Mac remains protected.

Want news and tips from TekRevue delivered directly to your inbox? Sign up for the TekRevue Weekly Digest using the box below. Get tips, reviews, news, and giveaways reserved exclusively for subscribers.

Share this:

  • Facebook
  • Twitter
  • LinkedIn
  • Reddit
  • Pinterest
  • Email

  • Categories: Mac
  • Tags: #Finder #Hidden Files #macOS #Spotlight #System Integrity Protection #Terminal

Sign Up for the TekRevue Weekly Digest

Read more in Mac on TekRevue

  • edit video mac mojave
    How to Trim Videos with Quick Look in macOS Mojave

    Filed Under: Mac

  • disable auto-brightness mac
    How to Disable Auto-Brightness on Your Mac

    Filed Under: Mac

  • siri touch bar mac
    How to Remove Siri from the Touch Bar

    Filed Under: Mac

Search

Related Articles

  • hide mac app store purchases
    How to Manage and Hide Mac App Store Purchases
  • photos app
    How to Hide Pictures in the Photos App on the Mac
  • OS X Hidden Folders
    How to Create & Use Hidden Folders in Mac OS X
  • OS X Hidden Files
    How to Show Hidden Files on Mac OS X

Connect with TekRevue

  • TekRevue on Twitter
  • TekRevue on Facebook
  • Cheats
  • Contributor
  • Deals
  • Distractions
  • Editorials
  • Gadgets
  • Games
  • Gaming
  • Giveaway
  • Hardware
  • Home Theater
  • More in Mac
  • Mobile
  • News
  • Podcast
  • Reviews
  • Sponsor
  • Tips
  • Windows
  • edit video mac mojave
    How to Trim Videos with Quick Look in macOS Mojave
  • disable auto-brightness mac
    How to Disable Auto-Brightness on Your Mac
  • siri touch bar mac
    How to Remove Siri from the Touch Bar
  • mac gpu usage history
    How to View GPU Usage in macOS via Activity Monitor
  • clipped documents
    How to Use Mojave’s Quick Actions to Quickly Combine PDFs on the Mac
  • razer core x egpu macbook pro
    MacBook Pro eGPU Benchmarks: Razer Core X & AMD Radeon Vega Frontier Edition
  • hide app mac
    How to Hide Mac Apps in macOS via the Terminal
  • microsoft word for mac mojave
    How to Change Case in Microsoft Word for Mac
  • dockcase p1 adapter
    DockCase P1 Adapter: A USB-C Hub that Connects to Your MacBook Pro Charger
  • change font notes mac
    How to Copy and Paste Styles to Easily Format Text in macOS
  • locked pages document
    How to Password Protect a Pages Document
  • chrome hold command q to quit
    How to Turn Off the ‘Hold Command-Q to Quit’ Warning in Chrome for macOS
  • sort bookmarks safari
    How to Automatically Sort Bookmarks in Safari for Mac with SafariSort
  • chrome picture in picture
    How to Use Chrome Picture in Picture in macOS
  • outlook for mac logo
    How to Use Text Replacement in Office for Mac
  • airdrop website between iphone ipad mac
    How to AirDrop Websites Between the iPhone, iPad, and Mac
  • exclude app dark mode mac mojave
    How to Exclude an App From Dark Mode in macOS Mojave
  • apple books download location
    Where Are Apple Books Downloads Stored in macOS?
  • notes app mac
    Float Notes in the macOS Notes App to Keep Them Always On Top
  • mac lock screen message featured
    How to Add a Lock Screen Message to macOS

Tips

  • Apps
  • Gaming
  • Mac
  • Mobile
  • Online
  • Windows
  • parallels custom touch bar
    Parallels Desktop: Using XML to Create Custom Touch Bar Buttons for Windows Apps
  • replace notepad notepad plus plus
    How to Completely Replace Notepad With Notepad++ in Windows
  • chrome picture-in-picture windows
    How to Use Chrome Picture-in-Picture in Windows 10
  • eartrumpet
    EarTrumpet for Windows 10: A Better Windows Volume Mixer
  • xbox store autoplay video
    How to Turn Off Xbox Store Autoplay Videos on the Xbox One
  • slow steam browser windows
    Here’s One Potential Fix for a Slow Steam Browser in Windows
  • How to Manually Dim the Xbox One Screen
  • xbox one store games
    How to Browse Games by Genre in the Xbox One Store
  • edit video mac mojave
    How to Trim Videos with Quick Look in macOS Mojave
  • disable auto-brightness mac
    How to Disable Auto-Brightness on Your Mac
  • siri touch bar mac
    How to Remove Siri from the Touch Bar
  • mac gpu usage history
    How to View GPU Usage in macOS via Activity Monitor
  • flip camera facetime ios 12
    How to Check FaceTime Data Usage on the iPhone
  • change default card apple pay watch
    Apple Watch: How to Change the Default Apple Pay Card
  • siri mac sierra
    Enable ‘Type to Siri’ to Type Your Siri Questions Instead of Speaking
  • iphone live photo
    How to Convert a Live Photo to a Still Image With a Custom Key Photo
  • plex web shows
    How to Disable Web Shows in Plex
  • youtube dark theme web
    How to Enable the YouTube Dark Theme in a Desktop Browser
  • chrome new look vs old
    How to Switch Back to the Old Chrome Design
  • google drive shared expiration
    How to Set Expiration Dates for Shared Google Drive Files
  • windows 10 lock screen tips
    How to Turn Off Windows 10 Lock Screen Tips
  • av1 windows 10
    How to Play AV1 Videos in Windows 10 With the Free AV1 Codec
  • replace notepad notepad plus plus
    How to Completely Replace Notepad With Notepad++ in Windows
  • windows 10 power user menu
    How to Edit the Power User Menu (Win+X Menu) in Windows 10
Company
  • About TekRevue
  • Get in Touch
  • Sponsorships

Sign Up for the TekRevue Weekly Digest

© TekRevue LLC. All Rights Reserved.

  • TekRevue User Agreement
  • TekRevue Privacy Policy

Built by Blazer Six

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.