Enhance installation experience with improved PATH handling #61
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.
Overview
This PR improves the user experience during installation by providing clearer guidance and better PATH management to help users get
kubectl oadpworking immediately after installation.Background
Currently, users may experience confusion after running
make installwhenkubectl oadpdoesn't work immediately. This typically happens when~/.local/binisn't in their current terminal session's PATH, even if it's configured in their shell profile.Improvements
1. Enhanced PATH Detection & Feedback
2. Current Session Support
export PATH=...command for immediate usekubectl oadpright away without restarting their terminal3. Improved Shell Configuration Detection
^[[:space:]]*export[[:space:]]*PATH.*\.local/binfor more accurate detection4. Installation Verification
kubectl oadpis accessible after installation5. Clearer User Guidance
6. Updated Documentation
Example Output
The new installation experience provides clear, actionable guidance:
This change helps ensure users can successfully use the CLI immediately after installation while providing clear guidance for both immediate and future use.
🤖 Generated with Claude Code