Skip to content

Commit da963e4

Browse files
committed
docs: add install script and update README installation instructions
1 parent ee9be2b commit da963e4

2 files changed

Lines changed: 51 additions & 3 deletions

File tree

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,15 @@ This extension provides production-ready agents, skills, hooks, commands, rules,
1515

1616
Get up and running in under 2 minutes:
1717

18-
### Option 1: Install via Gemini CLI (Recommended)
18+
### Option 1: Quick Install (Recommended)
1919

2020
```bash
21-
# Install directly from GitHub
22-
gemini extensions install https://github.com/Jamkris/everything-gemini-code
21+
# Clone the repository
22+
git clone https://github.com/Jamkris/everything-gemini-code.git
23+
24+
# Run installation script
25+
cd everything-gemini-code
26+
./install.sh
2327
```
2428

2529
### Option 2: Manual Installation (Advanced)

install.sh

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
#!/bin/bash
2+
3+
# Gemini CLI Extension Installer
4+
# Installs agents, skills, commands, and rules to ~/.gemini/
5+
6+
set -e
7+
8+
GEMINI_DIR="$HOME/.gemini"
9+
10+
echo "Installing Gemini CLI Extensions..."
11+
12+
# Ensure directories exist
13+
mkdir -p "$GEMINI_DIR/agents"
14+
mkdir -p "$GEMINI_DIR/commands"
15+
mkdir -p "$GEMINI_DIR/skills"
16+
mkdir -p "$GEMINI_DIR/rules"
17+
18+
# Copy agents
19+
if [ -d "agents" ]; then
20+
echo "Copying agents..."
21+
cp agents/*.md "$GEMINI_DIR/agents/"
22+
fi
23+
24+
# Copy commands
25+
if [ -d "commands" ]; then
26+
echo "Copying commands..."
27+
cp commands/*.md "$GEMINI_DIR/commands/"
28+
fi
29+
30+
# Copy skills
31+
if [ -d "skills" ]; then
32+
echo "Copying skills..."
33+
cp -r skills/* "$GEMINI_DIR/skills/"
34+
fi
35+
36+
# Copy rules
37+
# Note: Rules are usually project-specific but we install common ones here
38+
if [ -d "rules/common" ]; then
39+
echo "Copying common rules..."
40+
cp -r rules/common/* "$GEMINI_DIR/rules/"
41+
fi
42+
43+
echo "Installation complete! 🚀"
44+
echo "You can now use the installed extensions with Gemini CLI."

0 commit comments

Comments
 (0)