Paket


paket install

Compute dependency graph, download dependencies and update projects.

 1: 
 2: 
 3: 
 4: 
 5: 
 6: 
 7: 
 8: 
 9: 
10: 
11: 
12: 
13: 
14: 
15: 
16: 
17: 
18: 
19: 
20: 
21: 
22: 
23: 
24: 
25: 
26: 
27: 
28: 
29: 
30: 
31: 
paket install [--help] [--force] [--redirects] [--create-new-binding-files] [--clean-redirects]
              [--keep-major] [--keep-minor] [--keep-patch] [--only-referenced]
              [--touch-affected-refs] [--generate-load-scripts]
              [--load-script-framework <framework>] [--load-script-type <csx|fsx>]

OPTIONS:

    --force, -f           force download and reinstallation of all dependencies
    --redirects           create binding redirects
    --create-new-binding-files
                          create binding redirect files if needed
    --clean-redirects     remove binding redirects that were not created by Paket
    --keep-major          only allow updates that preserve the major version
    --keep-minor          only allow updates that preserve the minor version
    --keep-patch          only allow updates that preserve the patch version
    --only-referenced     only install dependencies listed in paket.references files, instead of
                          all packages in paket.dependencies
    --touch-affected-refs touch project files referencing affected dependencies to help incremental
                          build tools detecting the change
    --generate-load-scripts
                          generate F# and C# include scripts that reference installed packages in a
                          interactive environment like F# Interactive or ScriptCS
    --load-script-framework <framework>
                          framework identifier to generate scripts for, such as net45 or
                          netstandard1.6; may be repeated
    --load-script-type <csx|fsx>
                          language to generate scripts for; may be repeated; may be repeated
    --silent, -s          suppress console output
    --verbose, -v         print detailed information to the console
    --log-file <path>     print output to a file
    --help                display this list of options.

If you add the --verbose flag Paket will run in verbose mode and show detailed information.

With --log-file [path] you can trace the logged information into a file.

Notes on changes to paket.dependencies

If the paket.dependencies file has been changed since the last update of the paket.lock file (e.g. you added dependencies or changed version constraints), Paket will update the paket.lock file to make it match paket.dependencies again.

Unlike paket update, paket install will only look for new versions of dependencies that have been modified in paket.dependencies and use the version from paket.lock for all other dependencies.

Fork me on GitHub