# cargo new > 创建一个新的 Cargo 软件包。 > 相当于 `cargo init`,但是必须指定一个目录。 > 更多信息:。 - 使用二进制目标创建一个新的 Rust 项目: `cargo new {{路径/到/目录}}`