Although the dark mode for OS X Yosemite that Apple previewed onstage at WWDC two weeks ago hasn’t officially made it into any build of Yosemite as of today, developer Hamza Sood has figured out a Terminal command which will let you get a taste of OS X’s dark mode now:

Just paste the line below into Terminal, and log out of your account. After logging back in, you’ll see that the Dock, Menu Bar, and corresponding menus all take on the new dark theme.

To enable the somewhat functional dark mode: sudo defaults write /Library/Preferences/.GlobalPreferences AppleInterfaceTheme Dark — Hamza Sood (@hamzasood) June 17, 2014

Of course, this is an extremely early version of dark mode, and many of the icons in the menu bar appear to be displaying incorrectly. As always, use your own discretion when enabling features like this. If you’d like to revert back to the default OS X style, there’s a Terminal entry for that too:

To undo, either remove the key (defaults delete) or change it to “Light” — Hamza Sood (@hamzasood) June 17, 2014

FTC: We use income earning auto affiliate links. More.

Check out 9to5Mac on YouTube for more Apple news: