-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall_ai_tools.sh
More file actions
executable file
Β·54 lines (43 loc) Β· 1.36 KB
/
install_ai_tools.sh
File metadata and controls
executable file
Β·54 lines (43 loc) Β· 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/usr/bin/env bash
set -e
echo "π€ Installing AI CLI Tools"
echo "========================="
# Ensure Node.js and npm are installed
if ! command -v node &> /dev/null || ! command -v npm &> /dev/null; then
echo "π¦ Node.js/npm not found. Installing..."
./install_node.sh
fi
# Install AI CLI tools
echo "π¦ Installing Claude Code..."
npm install -g @anthropic-ai/claude-code
echo "π¦ Installing Qwen Code..."
npm install -g @qwen-code/qwen-code
echo "π¦ Installing Codex..."
npm install -g @openai/codex
echo "π¦ Installing Gemini CLI..."
npm install -g @google/gemini-cli
# Install GitHub CLI and Copilot extension
if ! command -v gh &> /dev/null; then
echo "π¦ GitHub CLI not found. Installing..."
./install_gh.sh
fi
echo "π§ Setting up GitHub Copilot extension..."
if ! gh auth status &> /dev/null; then
echo "π Please authenticate with GitHub:"
gh auth login
fi
echo "π¦ Installing GitHub Copilot extension..."
gh extension install github/gh-copilot
echo "π AI tools installation complete!"
echo ""
echo "Installed tools:"
echo " β
Claude Code"
echo " β
Qwen Code"
echo " β
Gemini CLI"
echo " β
GitHub Copilot CLI extension"
echo ""
echo "To get started:"
echo " β’ Claude Code: Run 'claude'"
echo " β’ Qwen Code: Run 'qwen'"
echo " β’ Gemini CLI: Run 'gemini'"
echo " β’ GitHub Copilot: Run 'gh copilot'"