### Install Atlas with Homebrew Source: https://atlasgo.io/docs Get the latest release of the Atlas CLI using Homebrew. ```bash brew install ariga/tap/atlas ``` -------------------------------- ### Setup Atlas in GitHub Actions Source: https://atlasgo.io/docs Use the setup-atlas action to install Atlas in a GitHub Actions workflow. Requires an ATLAS_CLOUD_TOKEN secret. ```yaml - uses: ariga/setup-atlas@v0 with: cloud-token: ${{ secrets.ATLAS_CLOUD_TOKEN }} ``` -------------------------------- ### Install Atlas CLI Source: https://atlasgo.io/docs Download and install the latest release of the Atlas CLI using a curl command. ```bash curl -sSf https://atlasgo.sh | sh ``` -------------------------------- ### Pull and Run Atlas Docker Image Source: https://atlasgo.io/docs Pull the Atlas Docker image and run it to view help information. ```bash docker pull arigaio/atlas docker run --rm arigaio/atlas --help ``` -------------------------------- ### Run Atlas Docker Container with Volume Mount Source: https://atlasgo.io/docs Run the Atlas Docker container, mounting a local migrations directory and accessing the host network for database connection. ```bash docker run --rm --net=host \ -v $(pwd)/migrations:/migrations \ arigaio/atlas migrate apply \ --url "mysql://root:pass@:3306/test" ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.