LinuxCommandLibrary

opencode-session

Manage OpenCode sessions

TLDR

List all sessions

$ opencode session list
copy
Resume a previous session
$ opencode session resume [session_id]
copy
Continue the most recent session
$ opencode session continue
copy

SYNOPSIS

opencode session subcommand [options]

DESCRIPTION

opencode session manages OpenCode coding sessions. Sessions persist conversation history, tool calls, and context in a local SQLite database. You can list past sessions, resume a specific session by ID, or continue the most recent one. This allows picking up where you left off across terminal restarts.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard