jellyctl is a CLI for managing your Jellyfin server. Make sure to check the repository for the latest version of jellyctl.
As I didn’t want to craft every HTTP call to the API myself, I generated a Go client from the OpenAPI spec. You can find the Go client in the jellyfin-go repository.
» Installation
» Precompiled Binaries
Binaries are available for all major platforms. See the releases page.
» Homebrew
Using the Homebrew package manager for macOS:
|
|
» Manually
It’s also possible to install via go install
:
|
|
» Usage
See the generated DOCS.md
in the repository for more details.
NAME:
jellyctl - Manage Jellyfin from the CLI
USAGE:
jellyctl [global options] command [command options]
VERSION:
undefined
COMMANDS:
activity List activities
system Manage the system
user Manage users
library Manage media libraries
key Manage API keys
task Manage schedule tasks
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--url value URL of the Jellyfin server (default: "http://127.0.0.1:8096") [$JELLYCTL_URL]
--token value API token [$JELLYCTL_TOKEN]
--help, -h show help
--version, -v print the version
Generate an API token in the Jellyfin WebUI at Administration -> Overview -> Advanced -> API Token.