Every server you look after, in one calm, fast window.
Free and open source. No account, no Tern cloud:
your hosts, your keys, your storage.
Get Tern · Tour · Features · Your data · Roadmap
Download Tern for Windows: one file, nothing to install. Keep it wherever you like and run it. Your hosts and settings live in your user profile, so a newer download picks up where you left off.
The first time, Windows may say it protected your PC, as Tern isn't signed yet: choose More info, then Run anyway. Every version is on the releases page.
macOS and Linux builds are on their way. Until then, Tern builds from source on both; DEVELOPMENT.md says how.
|
Native and quick Written in Rust and drawn on the GPU. Opens in about a quarter of a second and stays smooth through floods of output. |
Yours alone No sign-up and no Tern servers. Passwords stay in your system's keychain, and sync is encrypted on your device before it reaches a folder you already own. |
Made for real fleets Jump hosts, proxies, certificates, port forwarding, SFTP, containers, kept shells: what the job actually asks for. |
Your hosts live in a vault of cards. Each one draws its own heartbeat, a trace of how fast it answered over the last minutes, so a slow or silent server stands out before you connect. Its host key appears as a picture you'll learn to recognise, and every card is one click, or Enter, from a session. Type ssh deploy@10.0.4.21 into the search to reach anything, saved or not.
Tabs, colour schemes, find, links and the mouse in vim, htop and tmux, with output that flows without a stutter. Add two lines to your shell and Tern marks every command, a ring when it worked and a dot when it failed, jumps between them and copies a single command's output. Images show right in the terminal. On a slow link, what you type appears at once, before the server echoes it, and never when it's a password.
Split a tab into up to four sessions, side by side or in a grid. Broadcast sends what you type to all of them, while a host you've marked as guarded stays out unless you let it in.
Browse, upload, download, rename and change permissions in a panel next to the terminal. It follows your shell as you cd, and a click takes the shell to the folder you're looking at. Open a remote file in your own editor: every save goes straight back to the server.
Press Ctrl+Shift+P and type: hosts, open tabs, snippets and screens all come up as you go.
Keys, the SSH agent or a password kept in your system's credential store. Jump hosts, proxies, environment variables, a command to run after login, Wake-on-LAN and notes. Mark a host as guarded, and pastes and snippets wait for your yes before they reach it.
Every host key Tern trusts shows as its fingerprint art, whether it's in your ~/.ssh/known_hosts or Tern's own list. On Linux and macOS, hosts you trust in Tern are added to ~/.ssh/known_hosts, so ssh in a terminal knows them too. A key that changes stops the connection and names the exact line to check.
Light and dark, ten colour schemes, your font, size and cursor.
Point Tern at a folder that Google Drive, Dropbox, OneDrive, iCloud Drive or Nextcloud already keeps in step. Each computer writes its own file there, encrypted with your passphrase before it leaves the device, so sync clients never fight over a file and the cloud never sees your hosts.
Keep work and home apart with more than one vault. Each has its own hosts, snippets and history, and syncs to its own folder with its own passphrase.
Connecting
- Quick connect from a typed
sshcommand (-p,-land-iunderstood) - Keys, the SSH agent (OpenSSH's or Pageant), passwords and one-time codes; OpenSSH certificates
- Jump hosts chained as deep as you need; SOCKS5 and HTTP proxies
- Reconnects by itself after a dropped connection, and kept shells (tmux or screen) carry on where you left them
- Port forwarding (
-L,-R,-D), with or without a terminal open; ports a server starts listening on are offered, forwarded in a click - A shell inside any of the host's Docker or Podman containers
- Run when it's back: queue a command for a host that's down, and it runs the moment the host answers
- Wake-on-LAN for machines that sleep
- Local terminal tabs for this computer's own shell
- AI agents (Claude Code, Claude Desktop, any MCP client) can drive it, in tabs you watch
Organising
- Groups, tags and filters; cards or a compact list
- Groups that fill themselves from a command, such as your cloud's inventory
- Snippets with
{{variables}}, run in one session or on several hosts at once - History of every connection, and the tabs you had open come back at the next start
- Import from PuTTY (its
.ppkkeys sign in through Pageant) and from~/.ssh/config; copy any host as ansshcommand or a config block - Identities: one user and sign-in shared by many hosts
In the terminal
- Find in the scrollback, clickable links, font zoom
- Record a session and play it back (asciicast)
- The host's load, memory and disk, drawn live in the toolbar
- Tabs mark unseen output, bells and long commands that finished while you were elsewhere
- Full screen, and a theater mode that shows nothing but the terminal
- Drag a tab out of the window and it carries on in a window of its own
Staying safe
- Pasting several lines into a shell that would run them asks first, and a paste can't smuggle in control characters
- Guarded hosts for the machines you can't afford to fumble
- Files from a server that your computer would run, such as scripts, open as text when you edit them
- Links a server prints can't open programs or file shares on your computer
| Tern vs PuTTY | Tern vs Termius | Tern vs MobaXterm |
|---|---|---|
|
|
|
Checked against PuTTY 0.85, Termius 10.2 and MobaXterm 26.6 in October 2026.
With two lines in ~/.bashrc, the shell tells Tern where each command starts and ends and which folder it's in, the way iTerm2, WezTerm and Windows Terminal read it. That's what lights up command marks and keeps the Files panel in step:
PS0='\e]133;C\a'
PS1='\[\e]133;D;$?\a\e]133;A\a\e]7;file://$HOSTNAME$PWD\a\]'"$PS1"'\[\e]133;B\a\]'Tern can be driven by an AI agent such as Claude Code or Claude Desktop, through the Model Context Protocol (MCP). Switch on MCP server in Settings, under General, and give your agent the command shown there:
claude mcp add tern -- "C:\path\to\Tern-windows-x64.exe" --mcpApps that take a JSON config want the same command:
{
"mcpServers": {
"tern": { "command": "C:\\path\\to\\Tern-windows-x64.exe", "args": ["--mcp"] }
}
}The agent then works in the Tern you have open, in tabs you can watch: it lists your hosts and adds, changes or removes them, opens sessions (to a saved host, any user@host, or a local shell), types commands and reads what they print, reads the whole screen of programs like top or vim, and answers what a server asks before the shell starts, as you would at the keyboard. If Tern isn't running, the agent starts it.
- An agent's typing into a guarded host's session waits for your yes in Tern, however the agent reaches the host. Only you can change or remove a guarded host.
- Only you trust a server's key, let a host use your SSH agent, or change where such a host connects. An agent can refuse a key, never accept one.
- Agents get in only through that command, only from this computer, and only while the switch is on.
| Windows and Linux | macOS | |
|---|---|---|
| Command palette | Ctrl+Shift+P | Cmd+Shift+P |
| New local terminal | Ctrl+Shift+T | Cmd+T |
| Next and previous tab | Ctrl+Tab, Ctrl+Shift+Tab | the same |
| Close a tab, or the others | middle-click it, right-click for more | the same |
| Full screen | F11 | Ctrl+Cmd+F |
| Theater mode: the terminal alone | Shift+F11 | the same |
| Copy and paste | Ctrl+Shift+C, Ctrl+Shift+V or Shift+Insert (on Windows Ctrl+V pastes too) | Cmd+C, Cmd+V |
| Find in the terminal | Ctrl+Shift+F | Cmd+F |
| Previous and next command | Ctrl+Shift+↑, ↓ | Cmd+Shift+↑, ↓ |
| Bigger, smaller, reset font | Ctrl+=, Ctrl+-, Ctrl+0 | Cmd+=, Cmd+-, Cmd+0 |
| Open a link | Ctrl+click | Cmd+click |
| In the vault: move, connect, edit | arrows, Enter, E | the same |
- No accounts, no Tern servers, no telemetry. Tern talks to your servers, and to the sync folder you choose.
- Passwords and the sync passphrase live in your system's credential store: Windows Credential Manager, the macOS Keychain or the Secret Service on Linux. Never in Tern's files.
- Hosts, snippets and settings are plain files in Tern's data folder (
%APPDATA%\Tern,~/Library/Application Support/Ternor~/.local/share/tern), readable only by you. They hold no passwords or private keys, though notes and environment variables are kept as you write them. A vault file that can't be read is set aside asvault.json.unreadable, never overwritten. - Keys and host keys go where your system expects them. On Linux and macOS, keys you make or import in Tern land in
~/.sshand hosts you trust in~/.ssh/known_hosts, sosshandgituse them too, and Tern deletes only the keys it added. On Windows, Tern keeps both in its own folder and only reads~/.ssh. - Sync encrypts everything on your device (Argon2id and XChaCha20-Poly1305) before it reaches the cloud folder. Private keys sync only if you pick them, one by one, and a key that arrives is checked before it's written, never as one of ssh's own files.
DEVELOPMENT.md covers building, the local test server and the Docker lab of real OpenSSH servers; AGENTS.md is how changes are made here; ROADMAP.md is what comes next.
Tern is free and open source under the MIT License.