Comments (7)
Oh I see. I misread the error message. Looks like all you need to do is add the -B flag. I repro-ed on a clean docker image and tried a different command - leading to resolution.
So use the binary install: gvm install go1.20 -B
followed by gvm use go 1.20
And if you haven't already, make sure to install the recommended packages first.
from gvm.
suggest: goenv
from gvm.
I can see that you're currently using go1.4. I was on something like go1.10. I had a similar issue when I attempted to get the latest version earlier today and I had to install an intermediate package (go1.17).
gvm install go1.17
gvm use go1.17
Then followed by the version I wanted
gvm install go.1.20
gvm use go1.20
This seemed to resolve any issues.
from gvm.
I can see that you're currently using go1.4. I was on something like go1.10. I had a similar issue when I attempted to get the latest version earlier today and I had to install an intermediate package (go1.17).
gvm install go1.17 gvm use go1.17Then followed by the version I wanted
gvm install go.1.20 gvm use go1.20This seemed to resolve any issues.
I am running a MaOS and never installed any go version before and in fact I don't have any go versions installed at the moment.
from gvm.
if use -B, got ERROR: Binary Go unavailable for this platform
from gvm.
Oh I see. I misread the error message. Looks like all you need to do is add the -B flag. I repro-ed on a clean docker image and tried a different command - leading to resolution.
![]()
So use the binary install:
gvm install go1.20 -B
followed bygvm use go 1.20
And if you haven't already, make sure to install the recommended packages first.
I was on Ubuntu 22, had the same issue. No problem on my MacOS.
The '-B' option you suggested worked for me, thank you so much!
from gvm.
@wakaryry @DrkCoater @jedrekdomanski @Krueladin kindly try this GO Version Manager: https://github.com/ankitcharolia/goenv
from gvm.
Related Issues (20)
- iTerm error after installed gvm HOT 1
- pin version for a particular project HOT 3
- Unreasonable initial dependence
- ubuntu 23.10 after source gvm env οΌthe cd command cannot work HOT 1
- Why GVM always install `darwin/arm64`
- Overriden cd fails to switch to paths with spaces HOT 7
- panic: invalid path: 'css/bootstrap.min.css'
- Cannot install Go 1.4 HOT 3
- Significant ZSH Performance Slowdown After Adding gvm to PATH
- Startup error when having `cd` already set as alias
- Failed install go1.22 HOT 2
- Path incorrectly modified by GVM script HOT 6
- how to instal specific tmp folder on mac ?
- Message 'sed: first RE may not be empty' when using gvm switch version
- ERROR: Looks like the .git directory is present. Please reinstall GVM. HOT 1
- gvm use command causes GVM_ROOT to change
- gvm cd fails with Unrecognized command line argument: ''
- several gvm commands failing HOT 1
- `cd` command is slow HOT 2
- gvm requires go to compile go HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gvm.