diff --git a/cli/commands/update/root.go b/cli/commands/update/root.go index 644963e2..e609abf8 100644 --- a/cli/commands/update/root.go +++ b/cli/commands/update/root.go @@ -22,6 +22,8 @@ func Run() { updateZsh() updateTmux() updateBrew() + updateClaude() + updateDevbox() updateSolargraph() reshimAsdf() install.Call("vim") @@ -72,6 +74,24 @@ func updateBrew() { run.Verbose("brew upgrade") } +func updateClaude() { + if err := run.Silent("which claude"); err != nil { + log.Info("Claude Code not installed, skipping") + return + } + log.Info("Updating Claude Code") + run.Verbose("claude update") +} + +func updateDevbox() { + if err := run.Silent("which devbox"); err != nil { + log.Info("Devbox not installed, skipping") + return + } + log.Info("Updating Devbox") + run.Verbose("devbox version update") +} + func updateSolargraph() { log.Info("Updating solargraph gem") run.Verbose("gem update solargraph")