Skip to main content


Modules can call each other. To add a dependency to your module, you can use dagger install, as in the following example:

dagger install

This module will be added to your dagger.json:

"dependencies": [
"name": "helloWorld",
"source": ""

You can also use local modules as dependencies. However, they must be stored in a sub-directory of your module. For example:

dagger install ./path/to/module

The dependent module will be added to your code-generation routines, so you can access it from your own module's code.