Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 748 Bytes

forge-update.md

File metadata and controls

38 lines (23 loc) · 748 Bytes

forge update

NAME

forge-update - Update one or more dependencies.

SYNOPSIS

forge update [options] [dep]

DESCRIPTION

Update one or more dependencies.

The argument dep is a path to the dependency you want to update. Forge will update to the latest version on the ref you specified for the dependency when you ran forge install.

If no argument is provided, then all dependencies are updated.

OPTIONS

{{#include common-options.md}}

EXAMPLES

  1. Update a dependency:

    forge update lib/solmate
  2. Update all dependencies:

    forge update

SEE ALSO

forge, forge install, forge remove