# DCli Warmup

## DCli Warmup

DCli warmup essentially does the same as a pub get. It is provided as a convenience function and you can use a dart pub get interchangeably with DCli warmup.

DCli warmup prepares your project so that you can run any of the project scripts.

When a script is run that has been 'warmed' up, it runs in JIT mode and as such has a slower start time when compared to a compiled script.

The advantage of JIT mode is that it makes it easy to iterate over code changes. You can simply edit your script and immediately run the script.

You only need to run warmup again if you make a change to your dependencies.

If you need faster start times then you should consider compiling your scripts using [`dcli compile`](/dcli-tools-1/dcli-compile.md).

{% hint style="info" %}
If you edit pubspec.yaml in your project then you need to run `dcli warmup` so that DCli sees the changes you have made.
{% endhint %}

If you change your pubspec.yaml you can call \`dcli warmup\` from anywhere in your project's directory structure.

```
dcli warmup
```


---

# 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://dcli.onepub.dev/dcli-tools-1/dcli-clean.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.
