Skip to content

Instantly share code, notes, and snippets.

@rms1000watt
Last active February 13, 2026 22:58
Show Gist options
  • Select an option

  • Save rms1000watt/61cb4b83358505786bd725f86d4af173 to your computer and use it in GitHub Desktop.

Select an option

Save rms1000watt/61cb4b83358505786bd725f86d4af173 to your computer and use it in GitHub Desktop.
Install Opencode on Mac
#!/usr/bin/env bash
if ! command -v brew > /dev/null; then
echo "installing brew"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi
if ! command -v opencode > /dev/null; then
echo "installing opencode"
brew install anomalyco/tap/opencode
fi
if ! command -v node > /dev/null; then
echo "installing node"
brew install node
fi
if ! command -v skills > /dev/null; then
echo "installing skills"
npm i -g skills
fi
if ! skills ls -g | grep -q find-skills; then
echo "installing find skills"
skills add -y -g https://github.com/vercel-labs/skills --skill find-skills
fi
echo "you are now ready to use opencode"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment