trunkjet

Get started

On this page

What trunkjet is, and a first change

trunkjet is a place to keep the files of a project (code, but also images, design files and other large things) together with their whole history, and a way to change them safely with other people and with AI assistants. If you have used Git, most of it will feel familiar. The differences are on purpose: big files work, access can be limited per folder, and an AI agent can help without ever being able to approve its own work.

The five words you need

WordWhat it means
RepositoryThe project on the server: all its files and all their history.
StreamA line of work, like a Git branch. The main one is called main.
WorkspaceYour own copy of a repository in a normal folder on your computer.
ChangeYour edits, sent to the server so that people can review them.
LandMerge an approved change into its stream.

Two more things make everyday work calm. Saving (tjet save) records your work on your own computer only, and you can step back and forward with tjet undo and tjet redo. Sending (tjet send) is a separate step that publishes your saved work to the server as a change.

Quick start

  1. Install the command line tool. See Install the CLI and the desktop app. Check it with tjet --version.

  2. Create an account and sign in. On a server that allows sign-up:

    tjet signup --email [email protected] --handle you --server https://scm.example.com
    

    trunkjet mails you a six-digit code and asks for it in the terminal. On a server that already knows you, sign in instead; your browser opens:

    tjet login                      # trunkjet.io; your own server: tjet login scm.example.com
    

    On a computer without a browser use tjet login --device (it prints a code to enter on another device), or tjet login --email [email protected]. tjet whoami shows who you are.

  3. Get a copy of a repository.

    tjet repo list
    tjet workspace open acme/shop shop
    cd shop
    

    acme/shop is the repository, shop is the folder to create. To start a new repository instead: tjet repo create shop.

  4. Change something, then save.

    tjet status               # what you changed
    tjet diff                 # the changed lines
    tjet save -m "Fix the typo in the readme"
    

    Made a mistake? tjet undo goes back to your previous save.

  5. Send it and ask for a review.

    tjet send
    tjet review create --reviewer bob
    
  6. Land it once it is approved:

    tjet land
    
  7. Get what others landed: tjet workspace update (also tjet pull).

Running tjet with no arguments inside a workspace tells you where you are and what to do next. tjet COMMAND --help explains any command, with examples.

Where to go next

  • Command line basics: the everyday commands in one place.
  • The desktop app: the same work, in a window that feels like a file manager.
  • Agents and MCP: let Claude Code or another assistant work for you.
  • Self-hosting overview: run your own server.
  • Coming from Git? tjet pull, tjet push, tjet commit, tjet clone, tjet switch, tjet checkout and tjet branch work as the Git words do, and the migration guide shows how to bring a repository over.