https://github.com/tbxark/gbvm
A command line tool to manage Go binaries installed in GOPATH/bin
https://github.com/tbxark/gbvm
bin-manager go go-binary upgrade-tool
Last synced: 6 months ago
JSON representation
A command line tool to manage Go binaries installed in GOPATH/bin
- Host: GitHub
- URL: https://github.com/tbxark/gbvm
- Owner: TBXark
- License: mit
- Created: 2025-01-17T09:31:16.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2025-01-21T12:39:08.000Z (9 months ago)
- Last Synced: 2025-04-24T01:49:44.836Z (6 months ago)
- Topics: bin-manager, go, go-binary, upgrade-tool
- Language: Go
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gbvm
A command line tool to manage Go binaries installed in your `GOPATH/bin` directory. It helps you list installed binaries, check their versions, and upgrade them to the latest available versions.
## Installation
```bash
go install github.com/TBXark/gbvm@latest
```## Usage
```bash
Usage: gbvm list [options]List all installed Go binaries
-help
show help
-json
json mode
-versions
show version
``````bash
Usage: gbvm install [options]Install Go binaries from backup file
-help
show help
``````bash
Usage: gbvm upgrade [options] [bin1 bin2 ...]Upgrade Go binaries
-help
show help
-skip-dev
skip dev version
```### Install Command
Installs binaries from a backup JSON file.
```bash
# Install binaries from backup
gbvm install backup.json# List all installed binaries with their versions
gbvm list -versions# List binaries in JSON format
gbvm list -json# Upgrade a specific binary
gbvm upgrade bin1 bin2# Upgrade all binaries except development versions
gbvm upgrade
```## License
**gbvm** is released under the MIT license. [See LICENSE](LICENSE) for details.