From how the server and clients fit together and the default keys to sessions, tabs and splits from the CLI, run and capture, the layout tree, init.lua and Lua automation, events, remote servers and port forwarding, and working with agents. Over 20 lessons you get to where you can build a Rex workspace with commands, watch it, and stretch it to other machines. Commands and output were checked on Rex 0.1.0-preview.23, and you can read the JSON with Python right in your browser.
about 2 hours in total (estimate)
The 20 lessons are split into 5 chapters. We recommend going in order from chapter 1,
but feel free to dip into whatever catches your interest.
Note: Rex is in beta. The content matches CLI 0.1.0-preview.23 and app preview.35 (November 2026), and screens, keys and commands may change between versions. Check rex --help and the official docs on your own machine. Rex doesn't run inside the browser, so try the commands in your own terminal. The Python examples run right in your browser.
Take this chapter's review quiz ›
Learn how Rex combines a terminal and a multiplexer with a server that holds the state, then check your versions and where you are. You'll finish with the app's default keys and the rules for pointing at sessions, tabs, and panes by ID.
Take this chapter's review quiz ›
Learn to create sessions, tabs, and splits with the rex command and to read the layout tree in session inspect --json. At the end you compute each pane's position and size from the tree.
Take this chapter's review quiz ›
Run commands and wait for them with rex run and rex wait, type input with send and send-key, and read screens and state with capture and block call. You'll finish by telling success, failure, timeouts, missing targets, and unreachable servers apart from exit codes, and deciding the next step.
Take this chapter's review quiz ›
Bind keys in init.lua, call operations by name with actions and rex do, and listen to what happens with rex events and rex.on. You'll finish by turning event JSON Lines into a table of each pane's life.
Take this chapter's review quiz ›
Use servers on other machines with -S and hosts, connect them to your machine with port forwarding and Tailscale, and learn the rules for handing Rex to agents safely. You'll finish by building a table from an event stream that tells panes at work apart from panes stuck waiting.
Once you finish all 20 lessons, build the same kind of workspace with tmux in Neovim, fish & tmux for Beginners, sharpen the scripts you run in your panes in Shell Scripting for Beginners, or firm up how you hand work to a terminal agent in Claude Code for Beginners. Membership unlocks every course.