Skip to content

Feature request: cargo install --upgrade <binary> #3496

Closed
@colemickens

Description

@colemickens

When using pip, I can run pip install --upgrade azure-cli to get the latest version of the azure-cli package built and installed (and thus the az binary gets updated if needed as well).

As far as I can tell, there isn't any way to do this with cargo install today.

At best, I can use cargo install --list | grep <Something> but that doesn't tell me if it's up-to-date.

Alternatively, cargo install <something> -f will force re-compile even if the binary is up-to-date and it's unnecessary.

Maybe there could be a cargo install --upgrade <something> functionality?

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