feature/smbcloud-deploy
claude/smbcloud-github-app-k9641p
development
feature/apps
feature/build-release
feature/ci-docs
feature/ci-ruby-gems
feature/cicd
feature/completion
feature/dist-nuget
feature/fix-ci-sdk-pypi-rubygem
feature/fix-clippy-on-stable-channel
feature/fix-deployment-script
feature/github-email
feature/gresiq-v1
feature/project-new-structure
feature/rsync-deploy
feature/ruby-runner
feature/sdk-npm
feature/sdk-workflows
feature/smbcloud-cli-release-npm
feature/smbcloud-deploy
feature/wasm
main
release/v0.7.4
Native Installation
Install directly from crates.io using Cargo.
Prerequisites
- 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.
Install
Export the secret, then install:
export CLI_CLIENT_SECRET=your_secret_here
cargo install smbcloud-cli
Verify
smb --version
Upgrade
export CLI_CLIENT_SECRET=your_secret_here
cargo install smbcloud-cli --force
Uninstall
cargo uninstall smbcloud-cli
Troubleshooting
error: 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>