3 Commits

Author SHA1 Message Date
0xmrpeter
3380faa4df docs: update plugin commands for consistency and clarity
- Changed 'plugins' to 'plugin' in installation, configuration, enabling, and disabling commands for uniformity.
- Updated Node.js version requirements in install script to reflect the minimum supported version.
2026-03-31 15:40:09 +07:00
Mr.Peter
9c9dd5a785
fix(install): address code review issues in install scripts (#172)
- Add accepted-risk comment for NodeSource curl|bash pattern (HTTPS enforced)
- Fix wrapper script to use printf %q to safely handle special chars in repo_dir
- Add validate_args() to reject unsafe chars and path traversal in --git-dir/--version
- Add npm retry logic (3x, 2s delay) to install.ps1 to match install.sh behavior
- Fix nvm detection: replace unreliable command -v nvm with NVM_DIR/nvm.sh checks
- Add git re-check after install_git() with clear error if installation failed
- Fix PowerShell Add-ToPath null-safety for PATH on fresh installs
- Replace echo -e with printf %b to avoid flag misinterpretation in prompt_choice

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 10:04:01 +07:00
lngdao
1a6a27269d
feat(install): add one-liner install scripts for macOS/Linux/Windows (#170)
* feat(install): add macOS/Linux one-liner install script

* docs: add one-liner install commands to Quick Start

* feat(install): add Windows PowerShell installer

* fix(install): update taglines
2026-03-31 09:58:57 +07:00