35 lines
576 B
Bash
Executable File
35 lines
576 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Install development tools and utilities
|
|
|
|
DEVTOOLS_PACKAGES=(
|
|
git
|
|
python
|
|
nodejs
|
|
npm
|
|
docker
|
|
jq
|
|
ripgrep
|
|
fd
|
|
btop
|
|
htop
|
|
lazygit
|
|
visual-studio-code-bin
|
|
opencode
|
|
)
|
|
|
|
to_install=()
|
|
for pkg in "${DEVTOOLS_PACKAGES[@]}"; do
|
|
if ! paru -Q "$pkg" &>/dev/null; then
|
|
to_install+=("$pkg")
|
|
fi
|
|
|
|
done
|
|
|
|
if [ "${#to_install[@]}" -gt 0 ]; then
|
|
paru -S --noconfirm "${to_install[@]}"
|
|
echo "Development tools installed."
|
|
export DOTFILES_PACKAGES_UPDATED=1
|
|
else
|
|
echo "All development tools already installed."
|
|
fi
|