feat(install): Add output for the setting and removal of environment variables#6460
Merged
niheaven merged 5 commits intoScoopInstaller:developfrom Nov 10, 2025
Merged
Conversation
WalkthroughAdds user-facing logging to the PowerShell installer for when environment variables are set or removed, and updates CHANGELOG.md formatting and a new feature entry documenting that output. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant InstallScript as lib/install.ps1
participant EnvOp as env_set / env_rm
participant System as System Env
Note over InstallScript,EnvOp: New informational output added
User->>InstallScript: run installer
InstallScript->>EnvOp: call env_set / env_rm
EnvOp->>InstallScript: emit colored informational message
EnvOp->>System: perform Set-EnvVar / Remove-Item
System-->>EnvOp: success/failure
EnvOp-->>InstallScript: return status
InstallScript-->>User: exit code / final message
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Poem
Pre-merge checks and finishing touches✅ Passed checks (5 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
niheaven
approved these changes
Nov 10, 2025
abgox
added a commit
to abgox/abyss
that referenced
this pull request
Nov 10, 2025
abgox
added a commit
to abgox/abyss
that referenced
this pull request
Nov 11, 2025
Deide
pushed a commit
to Deide/scoop
that referenced
this pull request
Feb 14, 2026
…variables (ScoopInstaller#6460) Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
5 tasks
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.
Description
Add output for the setting and removal of environment variables.
Motivation and Context
Closes #6459
Checklist:
developbranch.Summary by CodeRabbit
New Features
Documentation