Clivern / Goenv

🐺 Manage Your Applications Go Environment.
MIT License
34 stars 2 forks source link

Install on Linux fail #77

Open CNCSMonster opened 4 months ago

CNCSMonster commented 4 months ago

Describe the bug

when try to install goenv ,follow the step descriped in readme, but fail. my commands:

export GOENV_LATEST_VERSION=$(curl --silent "https://api.github.com/repos/norwik/Goenv/releases/latest" | jq '.tag_name' | sed -E 's/.*"([^"]+)".*/\1/' | tr -d v)
curl -sL https://github.com/norwik/Goenv/releases/download/v{$GOENV_LATEST_VERSION}/goenv_Linux_x86_64.tar.gz | tar xz

i get:

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Development or production environment

Additional context

Clivern commented 4 months ago

I guess you need to install jq

$ apt-get install jq