Why go install is no longer supported
How can I install Atlas, and why is go install no longer supported?
Answer
- macOS + Linux
 - Homebrew
 - Docker
 - Windows
 - CI
 - Manual Installation
 
To download and install the latest release of the Atlas CLI, simply run the following in your terminal:
curl -sSf https://atlasgo.sh | sh
Get the latest release with Homebrew:
brew install ariga/tap/atlas
To pull the Atlas image and run it as a Docker container:
docker pull arigaio/atlas
docker run --rm arigaio/atlas --help
If the container needs access to the host network or a local directory, use the --net=host flag and mount the desired
directory:
docker run --rm --net=host \
  -v $(pwd)/migrations:/migrations \
  arigaio/atlas migrate apply
  --url "mysql://root:pass@:3306/test"
Download the latest release and move the atlas binary to a file location on your system PATH.
GitHub Actions
Use the setup-atlas action to install Atlas in your GitHub Actions workflow:
- uses: ariga/setup-atlas@v0
  with:
    cloud-token: ${{ secrets.ATLAS_CLOUD_TOKEN }}
Other CI Platforms
For other CI/CD platforms, use the installation script. See the CI/CD integrations for more details.
Why doesn't go install work anymore?
We no longer maintain the cmd/atlas package as an executable. Atlas is used across multiple programming languages,
like Python and Java, and the binary we distribute includes additional features and capabilities that wouldn't be
possible with go install.