Install directly from crates.io using Cargo.
- Rust (stable toolchain)
CLI_CLIENT_SECRET— required at compile time
The CLI_CLIENT_SECRET value is baked into the binary at compile time. Contact hej@setoelkahfi.se or check your smbCloud account dashboard to obtain it.
Export the secret, then install:
export CLI_CLIENT_SECRET=your_secret_here
cargo install smbcloud-clismb --versionexport CLI_CLIENT_SECRET=your_secret_here
cargo install smbcloud-cli --forcecargo uninstall smbcloud-clierror: proc-macro derive panicked … Error loading .env file
This error appears on older versions of smbcloud-cli (before 0.3.37). Upgrade to the latest version — it reads CLI_CLIENT_SECRET directly from the environment at compile time and no longer requires a .env file.
error[E0463]: can't find crate for std
Your Rust toolchain is missing the target. Run:
rustup target add <target>