Skip to content

Instantly share code, notes, and snippets.

View JuanArton's full-sized avatar
🏠
Working from home

Juan Arton JuanArton

🏠
Working from home
  • Purwokerto, Indonesia
View GitHub Profile
#!/bin/bash
# ==== Check dependencies ====
for cmd in curl jq; do
if ! command -v "$cmd" >/dev/null 2>&1; then
echo "❌ '$cmd' is not installed. Please install it using 'sudo apt install $cmd'"
exit 1
fi
done