gvm icon indicating copy to clipboard operation
gvm copied to clipboard

ERROR: Unrecognized command line argument: 'use' on Mac M1

Open cuishuang opened this issue 2 years ago • 7 comments

gvm version

Go Version Manager v1.0.22 installed at /Users/myname/.gvm

gvm install go1.17

gvm list

gvm gos (installed)

go1.17 system

gvm use go1.17

ERROR: Unrecognized command line argument: 'use'


cuishuang avatar Jan 25 '22 13:01 cuishuang

I'm having this issue too on x86_64

RobotSail avatar Mar 03 '22 16:03 RobotSail

same in linux, ubuntu 20.04

woodgear avatar Mar 22 '22 07:03 woodgear

seems like you need to source ~/.gvm/scripts/gvm first

woodgear avatar Mar 22 '22 08:03 woodgear

seems like you need to source ~/.gvm/scripts/gvm first

Thanks

cuishuang avatar Mar 22 '22 09:03 cuishuang

Maybe this will help you: https://github.com/moovweb/gvm/issues/406

soulteary avatar May 12 '22 12:05 soulteary

@cuishuang @woodgear @RobotSail kindly try this GO Version Manager: https://github.com/ankitcharolia/goenv

ankitcharolia avatar Aug 05 '23 15:08 ankitcharolia

@cuishuang @woodgear @RobotSail kindly try this GO Version Manager: https://github.com/ankitcharolia/goenv

ref: https://github.com/moovweb/gvm/issues/406#issuecomment-1717350488

Please confirm that your solution is universally applicable to ARM, x86 and other architectures. This issue discusses the use of software under the ARM architecture. The version you are currently releasing is the x86 version.

soulteary avatar Sep 13 '23 10:09 soulteary