diff options
Diffstat (limited to 'prompts/skills/rocky-vm-setup/references/scripts.md')
| -rw-r--r-- | prompts/skills/rocky-vm-setup/references/scripts.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/prompts/skills/rocky-vm-setup/references/scripts.md b/prompts/skills/rocky-vm-setup/references/scripts.md new file mode 100644 index 0000000..14fa7e0 --- /dev/null +++ b/prompts/skills/rocky-vm-setup/references/scripts.md @@ -0,0 +1,20 @@ +# Scripts + +## `/home/paul/scripts/update-coding-agents` + +```sh +#!/bin/sh +set -e +if [ "$(id -u)" -ne 0 ]; then + exec sudo "$0" "$@" +fi +echo "Updating Claude Code..." +npm update -g @anthropic-ai/claude-code @anthropic-ai/claude-code-linux-x64 +echo "Updating pi coding agent..." +npm update -g @earendil-works/pi-coding-agent +echo "All coding agents updated." +``` + +Run as paul: `$ /home/paul/scripts/update-coding-agents` + +Sudoers allows this specific script without a password. No other root access for paul. |
