Skip to content

Use --locked flag for Cargo install #1641

@allan2

Description

@allan2

Omitting the --locked flag can cause installation to fail when dependencies have broken updates.

For example, trying to install the 0.100.0 release using cargo install nu fails for me due to an issue with uutils.

I suggest adding the --locked flag to all cargo install references in the docs. I'd be happy to open a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions