docs: document CLI version pinning#1311
Conversation
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
|
Droid finished @factory-davidgu's task —— View job The documentation updates are clear and add useful guidance for pinning and installing specific CLI versions. The main remaining gaps are security and operational clarity around installation trust (especially |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
| export FACTORY_DROID_AUTO_UPDATE_ENABLED=false | ||
| ``` | ||
|
|
||
| With this variable set, automatic updates are disabled and `droid update` does not install another |
There was a problem hiding this comment.
[P1] Document how to intentionally upgrade when auto-updates are disabled
This section says that setting FACTORY_DROID_AUTO_UPDATE_ENABLED=false disables automatic updates and that droid update will not install another version, but it does not explain the intentional upgrade path for pinned standalone installs. Add a sentence telling readers to temporarily unset or flip the variable (or otherwise re-enable updates) when they want to run droid update --version <x>, then re-disable auto-updates to remain pinned.
Description
Document how to pin the Droid CLI through npm, the built-in updater, or direct verified binary downloads. Clarify update command flags and how automatic updates interact with pinned standalone and npm installations.
How Has This Been Tested?
git diff --checkdroid@0.174.0exists on npm