{"id":26149456,"url":"https://github.com/gofarsi/gvm","last_synced_at":"2025-04-14T03:52:07.549Z","repository":{"id":63045620,"uuid":"564144394","full_name":"GoFarsi/gvm","owner":"GoFarsi","description":"Go version manager tool","archived":false,"fork":false,"pushed_at":"2022-11-14T16:21:40.000Z","size":8763,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T17:51:49.076Z","etag":null,"topics":["go","golang","shell"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GoFarsi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-10T04:36:37.000Z","updated_at":"2024-04-09T08:21:54.000Z","dependencies_parsed_at":"2022-11-11T19:30:20.349Z","dependency_job_id":null,"html_url":"https://github.com/GoFarsi/gvm","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoFarsi%2Fgvm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoFarsi%2Fgvm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoFarsi%2Fgvm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoFarsi%2Fgvm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GoFarsi","download_url":"https://codeload.github.com/GoFarsi/gvm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248819354,"owners_count":21166474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","golang","shell"],"created_at":"2025-03-11T05:32:06.050Z","updated_at":"2025-04-14T03:52:07.526Z","avatar_url":"https://github.com/GoFarsi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gvm\nGo version manager tool, for install, upgrade or downgrade easy you golang.\n\n[![asciicast](https://asciinema.org/a/537453.svg)](https://asciinema.org/a/537453)\n\n# install\n\n1. install with go:\n```shell\ngo install github.com/GoFarsi/gvm@latest\n```\n\n2. install from [release page](https://github.com/GoFarsi/gvm/releases).\n\n# Example\nexample commands of gvm tool\n### install\ninstall latest version of Go\n```shell\ngvm install\n```\ninstall with backup downloaded Go compiler\n```shell\ngvm install -b /home/{user}\n```\ninstall specific version of Go compiler\n```shell\ngvm install -v 1.19.3\n```\n\n### upgrade\nupgrade to latest version Go\n```shell\ngvm upgrade\n```\nupgrade with backup downloaded Go compiler\n```shell\ngvm upgrade -b /home/{user}\n```\nupgrade to specific version of Go compiler\n```shell\ngvm upgrade -v 1.19.3\n```\n\n### downgrade\ndowngrade to previous version of Go\n```shell\ngvm downgrade\n```\ndowngrade with backup downloaded Go compiler\n```shell\ngvm downgrade -b /home/{user}\n```\ndowngrade to specific version of Go compiler\n```shell\ngvm upgrade -v 1.19.2\n```\n\n### list\nlist of version with commit id Go compiler\n```shell\ngvm list\n```\nlist of version with commit id Go compiler in 10 line\n```shell\ngvm list -l 10\n```\n\n### release\nshow release note link all version of Go compiler\n```shell\ngvm release\n```\nshow release note specific of version Go compiler\n```shell\ngvm release -v 1.19\n```\n\n### notification\ncheck new version of Go compiler base on your installed version\n```shell\ngvm notification\n```\n**note**:\n\u003e you can set cronjob for check new version Go compiler using command :\n\u003e `(crontab -l ; echo \"* */6 * * * gvm notification \u003e/dev/null 2\u003e\u00261\")| crontab -` every 6 hours.\n\n# TODO\n- [x] gvm for linux\n- [ ] mac os\n- [ ] windows\n- [ ] test code\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgofarsi%2Fgvm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgofarsi%2Fgvm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgofarsi%2Fgvm/lists"}