xbar for Mac — show any script’s output in the menu bar

xbar is a free, open-source app that puts the output of any script or program in the macOS menu bar. It is the successor to BitBar and includes a browser for hundreds of ready-made plugins.

No ratings yet
Version
2.1.7-beta
License
Free
Requires
macOS 10.15+
Chip
Apple Silicon & Intel
Website
xbarapp.com

Last checked: 2026-11-29

A script that prints one line can tell you whether a build passed or how many pull requests are waiting. xbar runs such scripts on a schedule and shows their output in the menu bar, with further lines forming a dropdown menu.

What it does well

  • Plugins are scripts. Any executable that writes to standard output works, whether shell, Python, Ruby or Go. The file name sets the refresh interval, so cpu.10s.sh runs every ten seconds.
  • Plugin browser. Preferences > Plugins… opens a catalogue of hundreds of community plugins to install and manage.
  • Settings without editing code. A plugin can declare variables, and xbar shows them as a form.
  • BitBar compatible. Plugins written for BitBar work once moved to ~/Library/Application Support/xbar/plugins.

Who it is for

Developers, administrators and tinkerers who want a status or a counter in the menu bar and can read a short script.

Good to know

Plugins are programs that run with your account’s rights, so read one before you trust it. The current release is several years old and still labelled a beta. SwiftBar runs the same plugins as a native Mac app; for CPU, memory and network readings without scripting, Stats is ready to use.

How to install

  1. Open the downloaded disk image.
  2. Drag xbar to Applications.
  3. The first time you open it, macOS asks you to confirm an app downloaded from the internet; click Open.
  4. From the xbar menu, choose Preferences > Plugins… and install your first plugin.
Free Download

FAQ

Is xbar free?

Yes. xbar is free and open source under the MIT licence.

What is the difference between xbar and BitBar?

xbar is the reboot of BitBar: the same idea, rewritten from the ground up in Go by its original author. BitBar plugins work in xbar once you move them into its plugin folder.

Is xbar still being updated?

Rarely. The latest release is several years old and still labelled a beta. SwiftBar runs the same plugins and is the alternative to consider.

Is it safe?

License: FreeScan on VirusTotalOfficial download link

Apps downloaded outside the App Store make macOS ask for confirmation on first launch. If macOS blocks the app, see our security-warning guide.

Does it run on your Mac?

No reports yet. Tried it? Be the first to say how it went.

macOS 27 26 Tahoe 15 Sequoia 14 Sonoma 13 Ventura 12 Monterey ≤11
Apple Silicon
Intel
Tried it on your Mac?

Not sure? Apple menu → About This Mac → "Chip" (M1–M5) or "Processor" (Intel).

Installation & Troubleshooting

How do I disable SIP and grant Terminal Full Disk Access?

System Integrity Protection shields core macOS files. Leave it on unless a developer's own instructions call for changing it; Terminal needs Full Disk Access to run some install scripts.

Full guide

How do I open an app that Gatekeeper blocks?

Gatekeeper and quarantine trigger "damaged" or "unidentified developer" warnings. Allow the app with Open Anyway in System Settings → Privacy & Security, or clear the quarantine flag with xattr.

Full guide

Why do I see security warnings when opening an app?

"Unidentified developer" and "cannot verify" warnings appear for apps Apple has not notarized. After the first blocked launch, click Open Anyway in System Settings → Privacy & Security.

Full guide

What if the app is damaged or the disk image is corrupted?

"App is damaged and can't be opened" comes from quarantine flags; clear them with xattr -cr on the app. A corrupted DMG usually means an interrupted download.

Full guide

What is Rosetta 2 and how do I install it?

Rosetta 2 lets Apple Silicon Macs run Intel apps. Install it with softwareupdate --install-rosetta in Terminal.

Full guide

Why can't I install this app on an Intel Mac?

Some releases are Apple-Silicon-only and will not install on Intel due to architecture mismatch. Use a universal build or an Intel-matched release.

Full guide

How to fix Adobe app installation errors?

Most Adobe install failures on Apple Silicon come from a missing Rosetta 2 or a stuck Creative Cloud helper. Install Rosetta, quit CCXProcess in Activity Monitor and run the installer again.

Full guide

What to use instead of Launchpad on macOS 26?

macOS 26 replaced Launchpad with the Apps view in Spotlight. Use Spotlight, the Apps view or a third-party launcher to find and open apps.

Full guide

Leave a comment

Comments are reviewed before they appear. Your email address is not published.