Patch/v0.2.5#28
Merged
Merged
Conversation
Add --replace-npm so users with a global npm-managed agoraio-cli can uninstall it before installing the standalone binary. Improve managed-install guidance to show manual uninstall and reinstall steps, and clarify that --force is only for intentional side-by-side installs.
Document the v0.2.5 installer migration changes and record the v0.2.3/v0.2.4 release history. Update release examples to use the next patch tag.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
install.sh --replace-npmto migrate from a global npm-managedagoraio-cliinstall to the standaloneinstaller.
Details
The installer still refuses to overwrite package-manager-managed installs by default to avoid PATH shadowing. For
npm-managed installs, users now have two clear paths:
Manual migration:
npm uninstall -g agoraio-clicurl -fsSL https://raw.githubusercontent.com/AgoraIO/cli/main/install.sh | shConvenience migration:
curl -fsSL https://raw.githubusercontent.com/AgoraIO/cli/main/install.sh | sh -s -- --replace-npm--forceremains available, but the docs now frame it as intentional side-by-side installation only.Verification
sh -n install.shsh scripts/test-installer-messages.shgit diff --check--replace-npmdry-run migration path