global-installer
Install global dependencies to the system. These are typically installing using `brew`
When & Why to Use This Skill
The Global Installer skill automates the management of system-level dependencies primarily through Homebrew. It streamlines the developer workflow by searching for optimal installation methods, executing setup commands, and ensuring environment persistence by automatically updating configuration files like Justfile and .zshrc.
Use Cases
- Automated Environment Provisioning: Quickly install essential CLI tools such as git, docker, or wget on a new machine without manual searching.
- Cloud SDK Setup: Install and initialize complex cloud management tools like gcloud or aws-cli, including handling necessary shell profile updates.
- Dependency Documentation: Automatically maintain a project Justfile with installation commands to ensure team-wide environment consistency.
- Shell Configuration Management: Seamlessly append required initialization scripts to .zshrc after installing packages that require environment variable exports.
| name | global-installer |
|---|---|
| description | Install global dependencies to the system. These are typically installing using `brew` |
Global Installer
Instructions
When installing system packages (ex: git, gcloud, etc.):
- Use a WebSearch to check how to install the package. Check to see if it can be installed using
brew
- ALWAYS install using
brewif it's an option
- If the output of the installation command indicates that the package requires some initialization steps, ask the user for permission to execute it using the AskUserQuestion tool
- After finishing the execution, read
$HOME/Justfileand update it with the installation command and the necessary setup - If the installation updated the
.zshrcfile automatically or if you modified in step 2, add a comment that CLEARLY indicates what package the code is for