Installation
Dracula for tmux can be installed using either tpm (Tmux Plugin Manager) or Nix. Choose the method that best fits your setup.Install with tpm (recommended)
The Tmux Plugin Manager (tpm) is the easiest way to install and manage tmux plugins, including automatic updates.Prerequisites
First, install tpm if you haven’t already:Installation steps
Add plugin to tmux configuration
Open your
~/.tmux.conf file and add the Dracula plugin:Add any configuration options below this line in your tmux config. Configuration must come after the plugin declaration.
Ensure tpm is initialized
Make sure the following line is at the bottom of your This line must be the last line in your configuration file.
~/.tmux.conf:Reload tmux configuration
If tmux is already running, reload the configuration:Or press
prefix + : then type source ~/.tmux.conf and press Enter.Example configuration
Here’s a complete example of a minimal~/.tmux.conf with Dracula:
Updating the theme
To update Dracula and other tpm plugins:- Press
prefix + U(capital U) - Select the plugins to update
- Press Enter
You can update all plugins at once by selecting “all” in the update menu.
Install with Nix
If you’re using NixOS or home-manager, you can install Dracula for tmux declaratively.Using home-manager
When using Nix, you don’t need to manually activate the theme. The “Activating theme” section for tpm doesn’t apply here.
Nix configuration options
All Dracula configuration options work in theextraConfig block:
Verifying installation
After installation, you should see:- The status bar background changes to the Dracula color scheme
- The left icon appears (default is a session name)
- Any enabled plugins display on the right side of the status bar
Troubleshooting
Theme not loading
-
Check that tpm is installed:
-
Verify plugin declaration in
~/.tmux.conf: -
Check tpm initialization:
Should show:
run -b '~/.tmux/plugins/tpm/tpm'
Icons not displaying
If you see strange characters instead of icons:- Install a Nerd Font or Powerline font
- Configure your terminal to use the patched font
- Reload tmux
Colors look wrong
Ensure your terminal supports 256 colors:~/.tmux.conf.
Next steps
Quick start
Learn how to configure and customize your new theme