Skip to content

feat: Revamp installer and introduce nvpak CLI#137

Open
Pakrohk wants to merge 2 commits intomainfrom
feat/new-installer-cli
Open

feat: Revamp installer and introduce nvpak CLI#137
Pakrohk wants to merge 2 commits intomainfrom
feat/new-installer-cli

Conversation

@Pakrohk
Copy link
Contributor

@Pakrohk Pakrohk commented Jul 6, 2025

  • Reworked install.sh and install.ps1 to be lightweight and delegate to a central Lua installer.
  • Created a Lua installer module (nvpak.core.installer) to handle:
    • Secondary dependency checks (ripgrep, fd, pynvim, clipboard tools).
    • Nerd Fonts guidance.
    • Plugin installation/synchronization via lazy.nvim.
  • Introduced 'nvpak' CLI tool (nvpak.sh, nvpak.ps1) for external management:
    • Commands: install, uninstall, update, upgrade, refresh, fetch, help.
    • Supports aliases via a configuration file.
    • 'install' and 'uninstall' currently provide guidance due to complexity of programmatic config modification; 'refresh' is used after manual changes.
  • Updated README.md with new installation instructions and CLI documentation.

- Reworked install.sh and install.ps1 to be lightweight and delegate to a central Lua installer.
- Created a Lua installer module (nvpak.core.installer) to handle:
  - Secondary dependency checks (ripgrep, fd, pynvim, clipboard tools).
  - Nerd Fonts guidance.
  - Plugin installation/synchronization via lazy.nvim.
- Introduced 'nvpak' CLI tool (nvpak.sh, nvpak.ps1) for external management:
  - Commands: install, uninstall, update, upgrade, refresh, fetch, help.
  - Supports aliases via a configuration file.
  - 'install' and 'uninstall' currently provide guidance due to complexity of programmatic config modification; 'refresh' is used after manual changes.
- Updated README.md with new installation instructions and CLI documentation.
@Pakrohk Pakrohk enabled auto-merge July 6, 2025 03:00
- Modified `install.sh` to attempt copying `nvpak.sh` to `~/.local/bin` or `/usr/local/bin` (with user prompt for sudo if needed).
- Modified `install.ps1` to copy `nvpak.ps1` to `$env:LOCALAPPDATA\NvPak\bin` and provide instructions for adding the directory to PATH.
- Updated `README.md` to reflect these new CLI deployment methods and provide clear setup instructions for the `nvpak` command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant