1
Install the CLI
Choose your preferred installation method:
- npm
- Homebrew
- Binary
Install via npm if you have Node.js version 18 or later installed.For detailed instructions, see Installation.
Requires Node.js version 18+ (an active LTS release is recommended).
2
Verify the installation
Confirm the CLI is installed and accessible:You should see the CLI version number.
3
Authenticate
Log in to Control Plane:The CLI prints a login URL and a six-digit confirmation code, then waits. Open the URL in a browser on any device, sign in, and enter the code. The CLI stores your credentials in a default profile.
4
Explore available commands
Use the built-in help to discover commands:Start with read-only commands like
cpln gvc get or cpln workload get.Try your first commands
Once authenticated, try these safe, read-only commands:Deploy your first app
Build and deploy a local application to Control Plane:1
Create a GVC
Create a Global Virtual Cloud to host your workload:
2
Build and push your image
From your project directory, build and push to your org’s private registry:
3
Create a workload
Deploy your image as a workload:
Replace
8080 with the port your application listens on. Use --public to make it accessible from the internet.4
Check your deployment
View your workload status:Once ready, access your app at the endpoint shown in the output.
For more image operations, see the Images guide.
Next steps
Images
Build, push, and manage container images
Profiles
Manage authentication and context
Common Options
Learn about shared CLI flags
CI/CD
Use the CLI in automation