Skip to content

Commands

Complete reference for every carryOn CLI command, flag, and option.

Create a new session and attach to it.

Terminal window
carryon [flags]
FlagDefaultDescription
--name, -nauto-generatedName for the new session
--backend, -bvalue of default.backendBackend to use (native or tmux)

When you run carryon without arguments, a session is created with an auto-generated name using the default backend. The daemon starts automatically if it is not already running.

Terminal window
# Create a session with an auto-generated name
carryon
# Create a named session
carryon --name api-server
# Create a session with a specific backend
carryon --name build --backend tmux

List all active sessions. ls is an alias.

Terminal window
carryon list
carryon ls

Displays each session’s name, backend, status, and connected clients.


Attach to an existing session. To detach, press Ctrl+C Ctrl+C (double tap).

Terminal window
carryon attach <session>
ArgumentDescription
sessionName of the session to attach to

Multiple clients can attach to the same session simultaneously. Each client receives the same output and can send input independently.

Terminal window
# Attach to a session named "dev"
carryon attach dev

Terminate a session and all processes running inside it.

Terminal window
carryon kill <session>
ArgumentDescription
sessionName of the session to kill
Terminal window
carryon kill api-server

Rename an existing session.

Terminal window
carryon rename <session> <new-name>
ArgumentDescription
sessionCurrent name of the session
new-nameNew name for the session
Terminal window
carryon rename api-server backend

Start the daemon. The daemon starts automatically when you create your first session, so manual management is rarely needed.

Terminal window
carryon start [flags]
FlagDefaultDescription
--foregroundfalseRun in foreground instead of daemonizing

Stop the background daemon.

Terminal window
carryon stop

Show unified status for the daemon, local server, remote access, and backends.

Terminal window
carryon status

Output includes:

  • Daemon - PID, uptime, session count
  • Local server - enabled, expose setting, URL
  • Remote access - enabled, connected, device name, relay
  • Backends - available backends and their status

Read and write configuration values. carryOn stores its config in a TOML file.

Terminal window
carryon config <command> [args]
CommandDescription
get <key>Read a config value
set <key> <value>Write a config value
reloadReload configuration from disk
pathPrint the path to the config file
KeyDefaultDescription
default.backendnativeBackend used for new sessions (native or tmux)
local.port8384Port the web UI listens on
local.exposefalseExpose the web UI beyond localhost
logs.levelinfoLog verbosity (debug, info, warn, error)
Terminal window
# Switch the default backend to tmux
carryon config set default.backend tmux
# Change the web UI port
carryon config set local.port 9090
# Check the current log level
carryon config get logs.level
# Find the config file on disk
carryon config path
# Reload after editing the file manually
carryon config reload

View daemon and session logs. Useful for debugging issues.

Terminal window
carryon logs [flags]
FlagDefaultDescription
-f, --followfalseFollow log output in real time
--levelall levelsFilter logs by minimum level (debug, info, warn, error)
Terminal window
# View recent logs
carryon logs
# Follow logs in real time
carryon logs -f
# Show only warnings and errors
carryon logs --level warn

Manage project configuration. Projects are defined by a .carryon.json file in your repository root. See the .carryon.json reference for the full schema.

Terminal window
carryon project <command>
CommandDescription
initCreate a .carryon.json file in the current directory
terminalsStart the terminals defined in the project config
associateAssociate the current directory with a set of sessions
disassociateRemove the project association for the current directory
Terminal window
# Create a new project config
carryon project init
# Start all terminals defined in .carryon.json
carryon project terminals
# Associate the current directory with running sessions
carryon project associate
# Remove the project association
carryon project disassociate

Update carryOn to the latest version, or check for available updates.

Terminal window
carryon update [flags]
FlagDescription
--checkCheck for a newer version without installing it
Terminal window
# Update to the latest version
carryon update
# Check for updates without installing
carryon update --check