linode api
nstallation
From pypi:
pip install linode-cli
From source:
git clone git@github.com:linode/linode-cli.git
cd linode-cli
make install
This will need to be repeated on each pull. For a build to succeed, see Building from Source below.
Upgrading
To upgrade to the latest version of the Linode CLI:
pip install linode-cli --upgrade
Usage
The Linode CLI is invoked with the linode-cli. The CLI accepts two primary arguments, command and action:
linode-cli <command> <action>
command is the part of the CLI you are interacting with, for example “linodes”. You can see a list of all available commands by using — help:
linode-cli --help
action is the action you want to perform on a given command, for example “list”. You can see a list of all available actions for a command with the — help for that command:
linode-cli linodes --help
Some actions don’t require any parameters, but many do. To see details on how to invoke a specific action, use — help for that action:
linode-cli linodes create --help
The first time you invoke the CLI, you will be asked to configure (see “Configuration” below for details), and optionally select some default values for “region,”…