Goenv icon indicating copy to clipboard operation
Goenv copied to clipboard

Install on Linux fail

Open CNCSMonster opened this issue 1 year ago • 1 comments

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

  • OS: Ubuntu 22.04.4 LTS
  • Go: go version go1.22.0 linux/amd64

Additional context

CNCSMonster avatar Jun 14 '24 03:06 CNCSMonster

I guess you need to install jq

$ apt-get install jq

Clivern avatar Jun 18 '24 17:06 Clivern