render-oss / cli

Render CLI (beta)
https://render.com/docs/cli
Apache License 2.0
8 stars 1 forks source link

Instructions to install latest release on Linux #12

Open piotr-cz opened 2 days ago

piotr-cz commented 2 days ago

At this moment, the recommended installation is only for MacOS with Homebrew. Alternative installation from source requires GO. Installing homebrew on a linux just to install this package is overkill

It would help if installation instructions similar to Homebrew would be available for Linux (Alpine Linux), to use CLI in GitLab pipelines/ Github Actions.

Or if there would be an installation script, such as one that nvm has: https://github.com/nvm-sh/nvm

piotr-cz commented 2 days ago

This works on Alpine Linux, but is tied to specific version:

apk --no-cache add unzip wget
echo "Installing Render CLI v0.8.6"
cd ~
wget https://github.com/render-oss/cli/releases/download/v0.8.6/cli_0.8.6_linux_amd64.zip
unzip cli_0.8.6_linux_amd64.zip -d render-cli
rm cli_0.8.6_linux_amd64.zip
chmod +x render-cli/cli_v0.8.6
alias render="~/render-cli/cli_v0.8.6"

I believe this can be easier