mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-04 08:03:40 -05:00
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com> Signed-off-by: Damian Stasik <920747+damianstasik@users.noreply.github.com> Signed-off-by: Roman Grinovski <roman.grinovski@gmail.com> Co-authored-by: Damian Stasik <920747+damianstasik@users.noreply.github.com> Co-authored-by: Roman Grinovski <roman.grinovski@gmail.com>
27 lines
830 B
Plaintext
27 lines
830 B
Plaintext
---
|
|
description: The tofu get command downloads and updates modules.
|
|
---
|
|
|
|
# Command: get
|
|
|
|
The `tofu get` command is used to download and update
|
|
[modules](../../language/modules/develop/index.mdx) mentioned in the root module.
|
|
|
|
## Usage
|
|
|
|
Usage: `tofu get [options]`
|
|
|
|
The modules are downloaded into a `.terraform` subdirectory of the current
|
|
working directory. Don't commit this directory to your version control
|
|
repository.
|
|
|
|
The `get` command supports the following option:
|
|
|
|
* `-update` - If specified, modules that are already downloaded will be
|
|
checked for updates and the updates will be downloaded if present.
|
|
|
|
* `-no-color` - Disable text coloring in the output.
|
|
|
|
* `-json` Produce output in a machine-readable JSON format, suitable for use
|
|
in text editor integrations and other automated systems. Always disables color.
|