# Installing Lucee Extensions

If your Task Runner requires a Lucee extension which is not already installed into the Lucee instance that powers the CLI, you will need to install it before you can use it.  You can download the lex file and place it inside the `deploy` folder in the Lucee Server context inside the CLI

```
~/.CommandBox/engine/cfml/cli/lucee-server/deploy
```

The extension will get picked up and installed within 60 seconds if CommandBox is running, or immediately on the next start.

You can also use the `installExtension()` method which is part of the base Task to install any extension available on an update provider.

```javascript
// MySQL JDBC Extension
installExtension( '7E673D15-D87C-41A6-8B5F1956528C605F' )
```

Or specify a version like so:

```javascript
// MySQL JDBC Extension
installExtension( '7E673D15-D87C-41A6-8B5F1956528C605F', '8.0.30' )
```


---

# 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://commandbox.ortusbooks.com/6.0.0-1/task-runners/installing-lucee-extensions.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.
