tomnomnom / anew

A tool for adding new lines to files, skipping duplicates
MIT License
1.34k stars 147 forks source link

i can't install the tool #11

Closed medxpy closed 2 years ago

medxpy commented 2 years ago

sudo go install github.com/tomnomnom/anew@latest

internal/unsafeheader

compile: version "go1.17.2" does not match go tool version "go1.17.1"

internal/abi

compile: version "go1.17.2" does not match go tool version "go1.17.1"

internal/cpu

compile: version "go1.17.2" does not match go tool version "go1.17.1"

internal/goexperiment

compile: version "go1.17.2" does not match go tool version "go1.17.1"

runtime/internal/atomic

compile: version "go1.17.2" does not match go tool version "go1.17.1"

runtime/internal/sys

compile: version "go1.17.2" does not match go tool version "go1.17.1"

internal/race

compile: version "go1.17.2" does not match go tool version "go1.17.1"

sync/atomic

compile: version "go1.17.2" does not match go tool version "go1.17.1"

unicode

compile: version "go1.17.2" does not match go tool version "go1.17.1"

unicode/utf8

compile: version "go1.17.2" does not match go tool version "go1.17.1"

math/bits

compile: version "go1.17.2" does not match go tool version "go1.17.1"

internal/itoa

compile: version "go1.17.2" does not match go tool version "go1.17.1"

container/list

compile: version "go1.17.2" does not match go tool version "go1.17.1"

crypto/internal/subtle

compile: version "go1.17.2" does not match go tool version "go1.17.1"

crypto/subtle

compile: version "go1.17.2" does not match go tool version "go1.17.1"

unicode/utf16

compile: version "go1.17.2" does not match go tool version "go1.17.1"

vendor/golang.org/x/crypto/cryptobyte/asn1

compile: version "go1.17.2" does not match go tool version "go1.17.1"

internal/nettrace

compile: version "go1.17.2" does not match go tool version "go1.17.1"

vendor/golang.org/x/crypto/internal/subtle

compile: version "go1.17.2" does not match go tool version "go1.17.1" med@med:~$ go version go version go1.17.1 linux/amd64

3ntr0phy commented 2 years ago

install it using go install -v github.com/tomnomnom/anew@latest

medxpy commented 2 years ago

@3ntr0phy thank you, it worked.