#linux #configuration #installer #self #generic #tools #read #execute #generics #command

app ginst

A generic installation tool, able to read and execute instructions from a json file

6 releases

new 0.1.3 Jan 29, 2023
0.1.2 Jan 24, 2023
0.0.3 Jan 22, 2023

#71 in Configuration

Download history 105/week @ 2023-01-21

105 downloads per month

MIT license

467 lines


ginst (short for generic installer) a tool used to install programs according to self written configurations.

The tool takes a .json file and tries to execute the commands given.

Note: It's currently only tested on Linux.


  • rust (cargo)
  • bash


Ez mode

cargo install ginst

or if you want to build it yourself:

git clone https://github.com/Sebbito/ginst.git
cd ginst
carbo build -r
cp target/release/ginst ~/.local/bin

on the last step you can copy it to any directory that is included in PATH but i suggest you use .local/bin for that.


ginst --file path/to/programs.json


h     l


<-   ->

to move through the menu.

The l or ˃ to go a level down and view the dependencies and h or ˂ to go one level back up.

Further keybinds are:

  • i or enter to execute the installation instructions for the program
  • c to execute the configuration steps
  • q to quit (goes up one level if you're in a submenu)


Right now the only way to configure the tool is through the programs.json file (which has to be in the working dir). There you can specify a program with installations per distribution and dependencies.

See the example.json on how ginst expects the .json to look like.

The .json file has the following structure:

    "programs": [

Where each program has a structure of:

    "name": "<name>",
    "installation": {
        "<dist-name1>,<dist-name2>": [
    "configuration": {
        "<dist-name1>,<dist-name2>": [
    "dependencies": {
        "programs": [

Some things that are worth noting:

  • The dependencies attribute is also just a list of programs, meaning you can add as many dependencies and nest this as deep as you want to.
  • Also there is the option to specify multiple distributions in one line separated by commas !without spaces! for which the installation instructions apply
  • You can also use a '*' instead of a regular distribution name to execute the steps for all distros
  • The distribution will be read out of /etc/os-release so make sure you name it like you see it in there


Q: The program doesn't start with the error:

Could not parse json file. Maybe you forgot a comma somewhere?

A: Well the answer is right there. The json could not be parsed. Make sure that you follow the outlined structure and have no syntax error.

Further Help

To get more information, see the Wiki or see

ginst --help


~172K SLoC