Skip to content

Remove requirement for sudo during CLI install#138

Merged
neel-astro merged 3 commits intoastronomer:mainfrom
odaneau-astro:remove-sudo
Mar 20, 2026
Merged

Remove requirement for sudo during CLI install#138
neel-astro merged 3 commits intoastronomer:mainfrom
odaneau-astro:remove-sudo

Conversation

@odaneau-astro
Copy link
Copy Markdown
Contributor

This PR removes the dependency we have on curl -sSL https://install.astronomer.io | sudo bash -s.
We can now install the Astro CLI without sudo. Instead, we use the godownloader directly.
This will also allow us to change the install path in the future. For now, we install in the default ~/.local/bin location.

@odaneau-astro odaneau-astro requested a review from a team as a code owner March 18, 2026 13:39
@@ -1,2 +1,2 @@
project:
name: astro-project
name: astro-project
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Can we stick to 4 spaces 😬

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was flagged by the linter, I can switch it back.

@neel-astro neel-astro merged commit d84ba48 into astronomer:main Mar 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants