upbound / up

The @upbound CLI
Apache License 2.0
52 stars 41 forks source link

M1 Processor Support #331

Closed pieterv-icloud-com closed 6 months ago

pieterv-icloud-com commented 1 year ago

What happened?

Trying to install he up cli on a devcontainer running on a M1 Macbook Pro:

RUN curl -sL "https://cli.upbound.io" | sudo bash

and getting the following error

 > [dev_container_auto_added_stage_label 9/9] RUN curl -sL "https://cli.upbound.io" | sudo bash:
#0 1.105 Up does not support Linux / aarch64 at this time.

Expecting it to install inside the devcontainer.

Epic #

alanraison commented 1 year ago

The install script doesn't pick up the architecture correctly. Try running

curl -SL "https://cli.upbound.io" | sudo ARCH=arm64 bash