Triton CLI tool
The Triton command line tool (
triton
) uses CloudAPI to manage infrastructure in Triton data centers. Many of the tasks that you can perform through the portal are also possible with Triton CLI, including:- Provision compute instances, including infrastructure containers and hardware virtual machines
- Manage compute instances, including Docker containers, infrastructure containers and hardware virtual machines
- Provision and manage networks
- Manage your account
In this page, you will learn how to install
triton
. You can learn more about CloudAPI methods and resources in our additional reference documentation.Need a visual reference? Watch the screencast which covers how to install the Triton CLI tool and manage infrastructure in Triton data centers.
To install Triton CLI and CloudAPI tools, you must first install Node.js. You can find the latest version of Node.js for your operating system and architecture at nodejs.org.
You can install
triton
using Node Package Manager (npm
). In the following example, the npm
install command sets a global flag (-g
) that makes npm
modules accessible to all users. This flag is mandatory when installing triton
on Windows.$ sudo npm install -g triton
. . .
/usr/local/bin/triton -> /usr/local/lib/node_modules/triton/bin/triton
[email protected] /usr/local/lib/node_modules/triton