# 1. Fig Overrides

Fig has several commands that are native to the app and cannot be overridden

1. `fig run [name of .run file]`
2. `fig local [path/to/file.html]`
3. `fig build`
4. `fig web [url]`
5. `fig install [app identifier]`
6. `fig uninstall [app identifier]`
7. `fig utils`
8. `fig --help`

{% hint style="info" %}
Fig aims to keep have as few native commands as possible. However, Fig may update them occasionally if it believes it will contribute meaningfully to the Fig ecosystem.
{% endhint %}

## fig run

Render and display markdown or [rundown](https://fig.gitbook.io/fig/interactive-runbooks-2) files in Fig. Files can be local or from the web.

`fig run [.run file OR url]`

**Examples**

* `fig run heroku` --> Render the heroku[.run](https://fig.gitbook.io/fig/interactive-runbooks-2) file in Fig&#x20;
  * Your terminal must be in the same working directory as the .run file<br>
* `fig run http://gist.github.com/` --> Render the .run or .md file in Fig
  * Note: The URL must be raw markdown or rundown

## fig build

Build the schema for a .fig file to [build your own CLI](https://fig.gitbook.io/fig/build-a-cli)

`fig build`&#x20;

## fig local

Render and display local html files in the Fig window

`fig local path/to/file.html`

**Examples**

* `fig local index.html`
* `fig local path/to/file.html`

## fig web

Open URLs in Fig's browser. Fig's lightweight browser gives you quick access to the sites you use most without leaving your Terminal

`fig web [url]`

**Examples**

* `fig web https://github.com/pull`
* `fig web https://news.ycombinator.com`
* `fig web https://notion.com`
* `fig web https://my_company_slack_name.slack.com`

## fig install

Install an app using its unique identifier

`fig install [app_name]`

**Note**: This currently does work but is reserved for this purpose.

## fig uninstall

`fig` un`install [app_name]`

**Note**: This currently does work but is reserved for this purpose.

## fig update

Update Fig to the newest version.

`fig update`

**Note**: This currently does work but is reserved for this purpose.

## fig utils

View Fig's developer utilities

`fig utils`

## fig --help

Open the help page in [fig home](https://fig.gitbook.io/fig/get-started/fig-home) in a tethered window.

`fig --help`


---

# 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://fig.gitbook.io/fig/the-fig-cli/fig-overrides.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.
