Linode CLI

raw JSON →
5.67.0 verified Mon Apr 27 auth: no python

Official command-line interface for managing Linode cloud services via the Linode API. The current version is 5.67.0, with a monthly release cadence.

pip install linode-cli
error linode-cli: command not found
cause linode-cli is not installed or not in PATH.
fix
pip install linode-cli
error Error: Missing required authentication. Please run `linode-cli configure`
cause Credentials not configured or expired.
fix
linode-cli configure
error Error: Invalid pagination parameters
cause Wrong `--page` or `--page-size` values.
fix
Use positive integers: --page 1 --page-size 100
gotcha linode-cli is a CLI tool, not a Python library. To use the Linode API from Python, install `linode-api4` instead.
fix pip install linode-api4
breaking Version 4.x to 5.x migration: The command `linode-cli` replaces the old `linode` command. Plugin API and output formatting changed.
fix Use `linode-cli` instead of `linode`. Refer to migration guide: https://www.linode.com/docs/products/tools/cli/guides/migrate/
deprecated Interactive shell mode (`linode-cli`) is deprecated in favor of direct command calls.
fix Use non-interactive commands with flags.

List all Linode instances as JSON.

linode-cli linodes list --json