Switch MacBook Terminal to Dark Mode: A Simple Guide
Are you a MacBook user who's looking to switch up the look of your Terminal? Dark mode is a popular choice, and for good reason. It's not only easy on the eyes but also immersive, giving your work a sleek, professional feel. Here's a step-by-step guide on how to make your MacBook Terminal black.
Before we dive in, it's important to note that the Terminal in macOS doesn't have a built-in dark mode. However, we can achieve a similar effect using Color Schemes andarken theme. Let's get started.
Preparing Your Terminal
Before we apply the dark theme, let's ensure your Terminal is ready to receive it. You'll need to have the iTerm2 terminal emulator installed, as it provides more customization options than the default Terminal app.
If you haven't already, download and install iTerm2 from the iTerm2 website. Once installed, follow the instructions below to set it as your default terminal:
Setting iTerm2 as the Default Terminal
1. Open Terminal (or iTerm2 if it's already installed).
2. Type `defaults write com.apple.LaunchServices LSHandlers -array Add {LSHandlerURLScheme="iterm2"LSHandlerContentType="com.apple_terminal"};` and press Enter.
3. Close the Terminal and restart your Mac. Now, whenever you open a terminal, iTerm2 should be the one launched.
Enabling themes in iTerm2
1. Open iTerm2.
2. Go to `iTerm2 > Preferences...`.
3. Navigate to `Profiles > Colors`. Here, you'll see the Color Scheme options. To apply a theme, click on the `Color Presets` dropdown and select `import settings...`.
Applying the Dark Theme (Arassini)
Arassini is a popular,olite dark theme for iTerm2 that's easy on the eyes. Here's how to apply it:
Downloading the Arassini Theme
1. In your browser, navigate to Arassini theme's GitHub repository.
2. Click on `Code` and then `Download ZIP`. Alternatively, you can clone the repository using `git clone https://github.com/arasz/iterm2-arassini.git`.
Importing the Arassini Theme in iTerm2
1. In iTerm2, go back to `Profiles > Colors` if you're not already there.
2. Click on `import settings...` in the Color Presets dropdown.
3. Navigate to the location where you downloaded/unzipped the Arassini theme files. Select the `
The theme should now be applied, turning your iTerm2 into a sleek, black terminal.
That's it! Enjoy your new dark-themed terminal. Happy coding! Remember, if you ever want to switch back to a light theme or any other theme, you can do so by following the same steps and choosing a different theme from the Color Presets dropdown.