LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

kobo

Host command for Cobalt on Kobo e-readers

TLDR

Install Cobalt onto a plugged-in reader
$ kobo setup
copy
Update the host command
$ kobo update
copy
List readers
$ kobo devices
copy
Open a shell on the reader
$ kobo shell
copy
Send a book or file
$ kobo send [path/to/book.epub]
copy
Push pictures with the Frame companion
$ kobo frame push [path/to/pictures]
copy
Open the desktop window
$ kobo ui
copy
Create an app and run it in the simulator
$ kobo new [name]
copy
$ kobo dev
copy

SYNOPSIS

kobo [command] [arguments]

DESCRIPTION

kobo is the command installed on a computer by Cobalt, the app platform for Kobo e-readers. It sets up a reader, updates itself, sends files, opens a shell, and builds apps. The same binary talks to a reader over USB or SSH and can run an app in a simulator with kobo dev.A bare kobo in a terminal opens a short menu. In a pipe it prints compact help and exits. KOBO_READER names the reader when --device is not passed.

PARAMETERS

-s, --device address

Reader to act on. A reader saved by setup or pair is used when this is omitted.
-h, --help
Show usage. On a subcommand, show that command's usage.

CONFIGURATION

A reader saved by setup or pair is reused by later commands. KOBO_READER overrides that default for one environment. --device and -s override both.

SUBCOMMANDS

setup

Install or remove Cobalt on a reader. --undo removes a managed install. --no-ssh leaves the reader's SSH server off.
update
Update the host command. --channel stable or --channel beta selects the channel. This does not update the reader.
pair [name]
Remember a reader so later commands can find it. --device sets the address.
devices
List readers that answer on the network or over USB.
shell
Run a command on the reader, or open an interactive shell. sh is an alias. Arguments after the verb are the reader's command.
deploy
Install a built package on the reader. install is an alias.
apps
Install, update, and remove Cobalt apps.
ui
Open Cobalt in a window on this computer.
new name
Create an app project. init and create are aliases.
dev
Run an app in the simulator. sim and simulator are aliases.
send file
Hand a file to the app that opens it. --to picks the app. --replace replaces what is already there.
frame
Drive the Frame companion, including frame push for a folder of pictures.
logs
Read the reader log. logcat is an alias.
wait
Wait until a reader is reachable. wait-for-device is an alias.
doctor
Report host and reader compatibility.
version
Print the host version. --full adds the compatibility report.

CAVEATS

setup can turn on the reader's SSH server and install a key held by this computer. shell runs as that SSH session. Commands that write the panel, including present and stop, exist only in a build with the device-write feature. kobo run on hardware is refused; kobo run --sim is the host-side run.

SEE ALSO

ssh(1), adb(1)

RESOURCES

Copied to clipboard
Kai