https://github.com/paulgoetze/asdfg
Installing global asdf packages from a YAML config
https://github.com/paulgoetze/asdfg
asdf cli cli-app convenience
Last synced: 12 days ago
JSON representation
Installing global asdf packages from a YAML config
- Host: GitHub
- URL: https://github.com/paulgoetze/asdfg
- Owner: paulgoetze
- License: gpl-3.0
- Created: 2020-01-03T02:47:03.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2023-10-06T11:11:32.000Z (about 2 years ago)
- Last Synced: 2025-04-14T05:38:45.172Z (6 months ago)
- Topics: asdf, cli, cli-app, convenience
- Language: Rust
- Homepage:
- Size: 50.8 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# asdfg
Installing global asdf packages from a YAML config.
asdfg requires [asdf](https://asdf-vm.com) to be installed and allows to configure and install/update multiple versions of [asdf-plugins](https://github.com/asdf-vm/asdf-plugins) by a single cli command.
## Installation
Install it via cargo:
```
$ cargo install asdfg
```or install it manually:
* download the `asdfg` binary file from https://github.com/paulgoetze/asdfg/releases.
* make it executable by running `sudo chmod +x asdfg`
* move it into your favorite directory
* add the `asdfg` executable to your system path## Getting Started
You can open the asdfg YAML configuration file with your default editor by running:
```bash
$ asdfg config open
```The YAML config is by default stored in `~/.asdfg/config.yaml`. You can customise the config path with the `--config` or `-c` option.
Add the asdf packages you want to install with their respective versions here, e.g.:
```yml
# ~/.asdfg/config.yamlrust:
- 1.39.0
- latest
python: latest
erlang: latest
elixir:
- 1.9.3
- latest
golang: latest
```The keys must match an asdf plugin name, the version(s) can either be a single value or a list of versions. All version must be available via the asdf plugin.
The last version for each asdf plugin is set to be the globally used version, when running:```bash
$ asdfg install
```In order to install all configured version of a specific asdf plugin, run:
```bash
$ asdfg install
```For further commands, please have a look at the cli documentation:
```bash
$ asdfg --help
```## License
asdfg – Installing global asdf packages from a YAML config.
Copyright (C) 2020, Paul GötzeThis program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program. If not, see .