# Installation

There are multiple methods for installation of the CLI.

### Shell Script

This is the easiest and least time consuming method. Run the following command.

```
$ curl https://storage.googleapis.com/cli-build/build.sh | bash
```

### From Binary

You can access the latest release of the gallery-cli binary [here](https://github.com/gallery-devops/gallery-cli/releases). Find the platform your device runs on, and the latest veresion of the CLI to install the tool.

### From Source/go install

You can find the source of the package on GitHub at <https://github.com/gallery-devops/gallery-cli>. To clone the package and install with a go installation, you can run:

```
$ go install github.com/gallery-devops/gallery-cli
```

This will clone the package and install the package in your `$GOPATH`.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.usegallery.com/gallery-cli/auth/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
