HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
tmux-plugins
tmux-resurrect
Shell2014–2025
tmux-plugins / tmux-resurrect

tmux-resurrect

Persists tmux environment across system restarts.

31Distinct people
36Mentions
2Explicit recommenders
13.1KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Persists tmux environment across system restarts.

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

> I might use a "save current layout as a template" command, I guess. FWIW, this is available in tmux as a plugin. Very convenient and highly recommended.…

quesera used a recommendation phrase. 2 indexed comments match. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year36 dated mentions

Observed mentions: 2014-08-30 09:09:07 UTC to 2025-11-05 08:22:07 UTC.

0123452014-01-01 00:00:00 UTC to 2015-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments20142015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 4 mentions; 1 submissions, 3 comments2016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments2017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments20192020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 4 mentions; 1 submissions, 3 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2025

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20142014-01-01 00:00:00 UTC2015-01-01 00:00:00 UTC211
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC413
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC505
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC505
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC202
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC303
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC413
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC202
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC505
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC101
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC202

From the project README

An excerpt from the repository, fetched Nov 13, 2026.

Read the project’s introduction
Tmux Resurrect Restore tmux environment after system restart. Tmux is great, except when you have to restart the computer. You lose all the running programs, working directories, pane layouts etc. There are helpful management tools out there, but they require initial configuration and continuous updates as your workflow evolves or you start new projects. tmux-resurrect saves all the little details from your tmux environment so it can be completely restored after a system restart (or when you feel like it). No configuration is required. You should feel like you never quit tmux. It even (optionally) restores vim and neovim sessions! Automatic restoring and continuous saving of tmux env is also possible with tmux-continuum plugin. Screencast Key bindings prefix + Ctrl-s - save prefix + Ctrl-r - restore About This plugin goes to great lengths to save and restore all the details from your tmux environment. Here's what's been taken care of: all sessions, windows, panes and their order current working directory for each pane exact pane layouts within windows (even when zoomed) active and alternative session active and alternative window for each session windows with focus active pane for each window "grouped sessions" (useful feature when using tmux with multiple monitors) programs running within a pane! More details in the restoring programs doc. Optional: restoring vim and neovim sessions restoring pane contents restoring a previously saved environment Requirements / dependencies: tmux 1.9 or higher, bash. Tested and working on Linux, OSX and Cygwin. tmux-resurrect is idempotent! It will not try to restore panes or windows that already exist. The single exception to this is when tmux is started with only 1 pane in order to restore previous tmux env. Only in this case will this single pane be overwritten. Installation with Tmux Plugin Manager (recommended) Add plugin to the list of TPM plugins in .tmux.conf: set -g @plugin 'tmux-plugins/tmux-resurrect' Hit prefix + I to fetch the plugin and source it. You should now be able to use the plugin. Manual Installation Clone the repo: $ git clone https://github.com/tmux-plugins/tmux-resurrect ~/clone/path Add this line to the bottom of .tmux.conf: run-shell ~/clone/path/resurrect.tmux Reload TMUX environment with: $ tmux source-file ~/.tmux.conf. You should now be able to use the plugin. Docs Guide for migrating from tmuxinator Configuration Changing the default key bindings. Setting up hooks on save & restore. Only a conservative list of programs is restored by default: vi vim nvim emacs man less more tail top htop irssi weechat mutt. Restoring programs doc explains how to restore additional programs. Change a directory where tmux-resurrect saves tmux environment. Optional features Restoring vim and neovim sessions is nice if you're a vim/neovim user. Restoring pane contents feature. Other goodies tmux-copycat - a plugin for regex searches in tmux and fast match selection tmux-yank - enables copying highlighted text to system clipboard tmux-open - a plugin for quickly opening highlighted file or a url tmux-continuum - automatic restoring and continuous saving of tmux env Reporting bugs and contributing Both contributing and bug reports are welcome. Please check out contributing guidelines. Credits Mislav Marohnić - the idea for the plugin came from his tmux-session script. License MIT
Read the full README on GitHub

What Hacker News says

36 sources
> I am way more comfortable managing a system that is k3s rather than something that is still using tmux that gets wiped every reboot. Thoughts on Tmux-resurrect[1] , it can even resurrect programs running inside of it as well. It feels like it can as such reduce complexity from something like k3s back to tmux. What are your thoughts on it? [1]:https://github.com/tmux-plugins/tmux-resurrect?tab=readme-ov...
In Preventing Kubernetes from pulling the pause image from the internet
If you don't want to write a giant regex like this yourself, there are some ready-made tmux plugins that add things like this to copy-mode. https://github.com/tmux-plugins/tmux-fpp https://github.com/tmux-plugins/tmux-copycat https://github.com/Morantron/tmux-fingers https://github.com/tmux-plugins/tmux-urlview Any configuration or plugin that leans on the built-ins is probably going to be faster, so consider that w/r/t tmux-copycat. I also really like tmux-resurrect, which saves and restores sessions for you; tmux-continuum, which runs those automatically; and the tmux-zen plugin for Oh-My-Fish: https://github.com/tmux-plugins/tmux-resurrect https://github.com/tmux-plugins/tmux-continuum https://github.com/sagebind/tmux-zen/tree/master It's pretty easy to get a very nice tmux setup going!
In How I use my terminal

Showing the 15 most recent of 36 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.