pkg.soopen package index

brew / rank 6578

Install cargo-clone with Homebrew, Nix, pacman

Cargo subcommand to fetch the source code of a Rust crate. Version 1.2.4 via Homebrew; verified 2026-06-22. Also installable with nix: nix profile install nixpkgs#cargo-clone.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install cargo-clone

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#cargo-clone

nixpkgs package indexes · pkgs/by-name/ca/cargo-clone/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S cargo-clone

Arch Linux sync databases · cargo-clone · source: geo.mirror.pkgbuild.com

overview

Package summary

Cargo subcommand to fetch the source code of a Rust crate

Commands and aliases

  • cargo-clone

history

Project history and usage

cargo-clone is a small Cargo subcommand that downloads the source code of crates from a registry. It fills a simple inspection gap: getting a crate's packaged source without manually navigating registry storage or repository metadata.

Project history

The GitHub repository was created in January 2016, early in Cargo's third-party subcommand culture. The README positions cargo-clone as a way to fetch Rust crate source from a registry and, optionally, clone the upstream git repository recorded in crate metadata.

Adoption history

cargo-clone is a niche utility rather than a broad platform component. Its adoption is visible through crates.io publication and packaging in Homebrew, Nix, and pacman, mostly serving developers who inspect crate contents or reproduce package sources.

How it is used

Users run commands such as `cargo clone serde` or append a version requirement such as `cargo clone cargo-clone@1.0.0`. With `--git`, the tool uses the repository URL from crate metadata and delegates to git clone.

Why package nerds care

The tool matters to package nerds because it distinguishes registry source from repository source. That distinction is central to auditing Rust packages: the code published to crates.io is the artifact Cargo actually builds.

Timeline

  • 2016: GitHub repository created.
  • 2016: First crates.io publication recorded for cargo-clone.
  • 2025: crates.io metadata shows continued updates, with version 1.2.4 current by the sampled registry data.

Related projects

  • Cargo provides the external subcommand mechanism that lets `cargo clone` dispatch to cargo-clone.
  • crates.io is the registry source that cargo-clone queries and downloads from.
  • git is used when users choose the README-documented `--git` path.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
cargo-cloneexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version1.2.4
manager updated2026-06-22
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:cargo-clone
Version1.2.4
Package managerHomebrew
Homepagehttps://github.com/JanLikar/cargo-clone
Repositoryhttps://github.com/JanLikar/cargo-clone
Last updated2026-06-22T14:02:57-07:00
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

cargo-clone

nix profile install nixpkgs#cargo-clone
  • normalized package name match
  • Matched by: Cargo Clone
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ca/cargo-clone/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

cargo-clone 1.2.4-2

A cargo subcommand to fetch the source code of a Rust crate

https://github.com/JanLikar/cargo-clone

sudo pacman -S cargo-clone
  • License: Apache-2.0 AND MIT
  • Architecture: x86_64
  • 14 dependencies
  • normalized package name match
  • Matched by: Cargo Clone
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: cargo-clone from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation