[go: up one dir, main page]

Install using Chocolatey on Windows

Chocolatey available on GitLab

Requirements

Chocolatey

  1. Install Chocolatey

  2. Check the installation with this command

    choco --version
    

    If it has been well settled, it should output something like this :

    2.3.0
    

    Else if it has been badly settled, it should output something like this :

    choco: command not found
    

Git

git-gamble doesn't repackage git, it uses the one installed on your system

  1. Install git manually

  2. Make sure it is available in your $PATH, you can check it with this command

    git --version
    

    If it has been well settled, it should output something like this :

    git version 2.45.2
    

    Else if it has been badly settled, it should output something like this :

    git: command not found
    

Install

Note: If you installed Chocolatey from an administrative shell, make sure to launch all choco commands from an administrative shell as well.

Check the version of Chocolatey installed using this command

choco --version
  • Chocolatey v2.x

    choco source add --name=git-gamble --source="https://gitlab.com/api/v4/projects/15761766/packages/nuget/index.json"
    choco install git-gamble.portable
    
  • Chocolatey v1.x

    Use the Nuget v2 source :

    choco source add --name=git-gamble --source="https://gitlab.com/api/v4/projects/15761766/packages/nuget/v2"
    choco install git-gamble.portable --version=2.11.0
    

    The Gitlab registry doesn't seem to fully support package discovery on the v2 source, so the version needs to be specified explicitly. This issue might address this.

Note: the latest version, not yet released, is also available

Check the installation

Check if all have been well settled

git gamble --version

If it has been well settled , it should output this :

git-gamble 2.11.0

Else if it has been badly settled , it should output this :

git : 'gamble' is not a git command. See 'git --help'.

Update

choco upgrade git-gamble.portable

With Chocolatey v1.x and/or the Nuget v2 source :

choco upgrade git-gamble.portable --version=2.11.0

Uninstall

choco uninstall git-gamble.portable

You might also want to remove the source :

choco source remove --name=git-gamble

Improving installation

Installation is currently not really convenient, so contributions are welcome

Feel free to add package to your favorite package repository