github.com/criteo/command-launcher@v0.0.0-20230407142452-fb616f546e98/gh-pages/content/en/docs/quickstart/binary-install.md (about)

     1  ---
     2  title: "Binary install"
     3  description: "Install command launcher with pre-built binaries"
     4  lead: "Install command launcher with pre-built binaries"
     5  date: 2022-10-02T17:25:20+02:00
     6  lastmod: 2022-10-02T17:25:20+02:00
     7  draft: false
     8  images: []
     9  menu:
    10    docs:
    11      parent: "quickstart"
    12      identifier: "installation-30e697cb4baa85f9bed185936eb70fff"
    13  weight: 110
    14  toc: true
    15  ---
    16  
    17  ## Download pre-built binaries
    18  
    19  Pre-built binaries can be downloaded from the [Github release page](https://github.com/criteo/command-launcher/releases/latest). Copy the binary into your PATH.
    20  
    21  The default pre-built binary is named `cola` (**Co**mmand **La**uncher), if you want to use a different name, you can build your own binaries from source. See [build from source](../build-from-source).
    22  
    23  For example, in each release, we also build a binary named `cdt` (Criteo Dev Toolkit). If you prefer to download `cdt`, please replace `cola` to `cdt` in the examples from the documents.
    24  
    25  ## Setup auto-completion
    26  
    27  Command launcher will automatically handle auto completion for all sub commands. You need to setup it once:
    28  
    29  ### Bash
    30  
    31  ```bash
    32  $ source <(cola completion bash)
    33  
    34  # To load completions for each session, execute once:
    35  # Linux:
    36  $ cola completion bash > /etc/bash_completion.d/cola
    37  # macOS:
    38  $ cola completion bash > $(brew --prefix)/etc/bash_completion.d/cola
    39  ```
    40  
    41  ### Zsh
    42  
    43  ```bash
    44  # If shell completion is not already enabled in your environment,
    45  # you will need to enable it.  You can execute the following once:
    46  
    47  $ echo "autoload -U compinit; compinit" >> ~/.zshrc
    48  
    49  # To load completions for each session, execute once:
    50  $ cola completion zsh > "${fpath[1]}/_cola"
    51  
    52  # You will need to start a new shell for this setup to take effect.
    53  ```
    54  
    55  ### Powershell
    56  
    57  ```powershell
    58  PS> cola completion powershell | Out-String | Invoke-Expression
    59  
    60  # To load completions for every new session, run:
    61  PS> cola completion powershell > cola.ps1
    62  # and source this file from your PowerShell profile.
    63  ```
    64  
    65  ### Fish
    66  
    67  ```bash
    68  $ cola completion fish | source
    69  
    70  # To load completions for each session, execute once:
    71  $ cola completion fish > ~/.config/fish/completions/cola.fish
    72  ```
    73  
    74  ## Uninstall
    75  
    76  Simply delete the binary.
    77  
    78  ## Build from source
    79  
    80  Command launcher is easy to build from source, follow the [instructions](../build-from-source)