Tmux Plugin Manager (TPM) is a tool that simplifies the installation and management of tmux plugins. Install it with git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
, add plugins to your .tmux.conf
, then install with PREFIX + I.
$ git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
The Tmux Plugin Manager (TPM) is a package manager specifically designed for tmux. It allows you to easily install, update, and remove plugins that extend tmux's functionality. These plugins can add features like saving and restoring sessions, CPU usage indicators, battery status, and more.
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
~/.tmux.conf
: # List of plugins set -g @plugin 'tmux-plugins/tpm' # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run '~/.tmux/plugins/tpm/tpm'
tmux source-file ~/.tmux.conf
To add a plugin, include it in your .tmux.conf
file:
# List of plugins set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-continuum'
If plugins aren't installing correctly, check that:
Most plugins allow custom configuration. Always check the plugin's README for available options. Example:
# Configure plugin options set -g @resurrect-capture-pane-contents 'on' set -g @continuum-restore 'on'