Your first sessions
Open a tab
Section titled “Open a tab”Open Alto, or from any terminal:
alto # a session in an Alto window, in this folder (a new tab if one's open)alto open ~/src # the same, in a folderalto open -- htop # run a program instead of your login shellOver SSH, or with no app running, plain alto lets you choose a session to attach to in the terminal you’re in.
Close the window
Section titled “Close the window”Start something long in a tab, a build, a dev server or an agent, then quit the app. Nothing stops. Every tab’s session is its own background process, and the window was only drawing it.
alto ls1 48211 2h working claude ~/src/payments2 48230 2h done codex ~/src/web3 48262 1h idle pnpm dev ~/src/webThe columns are the session’s id, its process, how long it’s been running, its state, its program and its folder.
Open Alto again and every tab is where you left it: its splits, which pane had focus, and the scrollback.
Use a session from another terminal
Section titled “Use a session from another terminal”alto attach # choose from a list, or start onealto attach 2 # show session 2 hereCtrl-\ detaches. The session carries on, and the Alto window still shows it. Several clients can show one session at once; its size follows whoever typed last.
Start and end sessions without a window
Section titled “Start and end sessions without a window”alto new # a session running your shell; prints its idalto new -- npm run dev # running a programalto new --attach # and show it herealto kill 3 # end its program (or forget an ended session)After a reboot
Section titled “After a reboot”Sessions save their screen as they go. After a restart each tab shows its last screen, scrollback included, with a note: This session has ended, and a button that says what it’ll do: Resume Claude, Run vim again, New shell. It starts the command again in the folder it was last in, and an agent picks up its own conversation. See Sessions.