My Environment: macOS Catalina with the standard terminal.
Running through the CLI Quickstart and not able to get the very first command (curl -sSL https://install.astronomer.io | sudo bash) to execute.
When I test it with the astro command nothing happens in my terminal.
Steps I’ve tried:
Saving the curl’d file to an .sh file locally and executing with sudo bash --> then executing the test astro command yields nothing.
Downloaded and executed the https://raw.githubusercontent.com/astronomerio/astro-cli/master/godownloader.sh file with sudo bash and got the following output:
astronomer/astro-cli: checking GitHub for latest tag
astronomer/astro-cli: found version: 0.12.0 for v0.12.0/darwin/amd64
astronomer/astro-cli: downloading https://github.com/astronomer/astro-cli/releases/download/v0.12.0/astro_0.12.0_darwin_amd64.tar.gz
astronomer/astro-cli: downloading https://github.com/astronomer/astro-cli/releases/download/v0.12.0/astro_0.12.0_checksums.txt
astronomer/astro-cli: verifying checksums
astronomer/astro-cli: installed as ./bin/astro
But the astro command yields the following:
zsh: command not found: astro
so I executed with sudo astro and yield the following:
amazingly, the godownloader.sh script seems to be broken on mac OS Catalina.
The bash function tag_to_version is broken, and instead of the correct tag, the GitHub URL to request the release from is appended with the internal GitHub id of the repo instead of the correct tag name.
Luckily you can circumvent this error by explicitly providing a tag version.