CLI Reference
Introduction
This document serves as reference documentation for all available commands in the Atlas CLI.
Similar information can be obtained by running any atlas command with the -h or --help flags.
For a more detailed introduction to the CLI capabilities, head over to the Getting Started page.
Supported Version Policy
To ensure the best performance, security and compatibility with the Atlas Cloud service, the Atlas team
will only support the two most recent minor versions of the CLI. For example, if the latest version is
v0.31, the supported versions will be v0.30 and v0.31 (in addition to any patch releases and the
"canary" release which is built twice a day).
Distributed Binaries
As part of our Supported Version Policy mentioned above, binaries for versions that were published more than 6 months ago will be removed from the CDN and Docker Hub.
The binaries and Docker images distributed in official releases are released in two flavors:
- Atlas - A binary built from the OSS repository in addition to proprietary code maintained by Ariga, including access to the Atlas Cloud service and commercial driver support. Atlas is distributed under the Atlas EULA.
- Atlas Community - A binary built from the OSS repository only. Atlas Community is distributed under the Apache 2 License.
For instructions on how to install Atlas Community, see this guide.
atlas ask
Use Atlas AI to resolve the latest error
Usage
atlas ask
atlas copilot
Start an interactive session with Atlas Copilot
Usage
atlas copilot [flags]
Flags
-c, --config strings select config (project) files using URL format (comma-separated) (default [file://atlas.hcl])
--env string set which env from the config file to use
--init start a project initialization session
-r, --resume string resume a session by providing an identifier
--var <name>=<value> input variables (default [])
atlas license
Display license information
Usage
atlas license
atlas login
Log in to Atlas Cloud.
Usage
atlas login [org] [flags]
Details
'atlas login' authenticates the CLI against Atlas Cloud.