Skip to content

Commit

Permalink
Update website/docs/reference/commands/deps.md
Browse files Browse the repository at this point in the history
Co-authored-by: Doug Beatty <[email protected]>
  • Loading branch information
matthewshaver and dbeatty10 authored Dec 11, 2023
1 parent 819dfdf commit 3ef39fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/reference/commands/deps.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ dbt generates the `package-lock.yml` file in the _project_root_ where `packages.
When you update the package spec and run `dbt deps` again, the `package-lock.yml` and `packages.yml` files update accordingly.

There are two flags related to `package-lock.yml`:
- `dbt deps --upgrade` &mdash; creates or updates the `package-lock.yml` file with the most recent dependencies from `packages.yml` and installs them.
- `dbt deps --lock` &mdash; creates or updates the `package-lock.yml` file but does not install the packages.
- `dbt deps --lock` &mdash; creates or updates the `package-lock.yml` file but does not install the packages.
- `dbt deps --upgrade` &mdash; creates or updates the `package-lock.yml` file with the most recent dependencies from `packages.yml`. Also install the packages unless the `--lock` flag is also passed.

The `--add-package` flag allows you to add a package to the `packages.yml` with configurable `--version` and `--source` information. The `--dry-run` flag, when set to `False`(default), recompiles the `package-lock.yml` file after a new package is added to the `packages.yml` file. Set the flag to `True` for the changes to not persist.

Expand Down

0 comments on commit 3ef39fb

Please sign in to comment.