vibe-coding.sh
· 715 B · Bash
Bruto
#!/usr/bin/env bash
cli() {
npm install -g @musistudio/claude-code-router
npm install -g @openai/codex
npm install -g @google/gemini-cli
npm install -g @iflow-ai/iflow-cli
npm install -g @qwen-code/qwen-code
npm install -g @tencent-ai/codebuddy-code
}
spec() {
npm install -g @fission-ai/openspec
uv tool install specify-cli --from git+https://github.com/github/spec-kit.git
}
binary_list() {
urls=(
"https://opencode.ai/install"
"https://filetas.asfd.cn/claude.ai/install.sh"
)
for url in "${urls[@]}"; do
echo "execute: curl -L fx4.cn/x | bash -s -- $url | bash"
curl -L fx4.cn/x | bash -s -- "$url" | bash
done
}
main() {
cli
spec
binary_list
}
main "$@"
| 1 | #!/usr/bin/env bash |
| 2 | |
| 3 | cli() { |
| 4 | npm install -g @musistudio/claude-code-router |
| 5 | |
| 6 | npm install -g @openai/codex |
| 7 | |
| 8 | npm install -g @google/gemini-cli |
| 9 | |
| 10 | npm install -g @iflow-ai/iflow-cli |
| 11 | |
| 12 | npm install -g @qwen-code/qwen-code |
| 13 | |
| 14 | npm install -g @tencent-ai/codebuddy-code |
| 15 | } |
| 16 | |
| 17 | spec() { |
| 18 | npm install -g @fission-ai/openspec |
| 19 | |
| 20 | uv tool install specify-cli --from git+https://github.com/github/spec-kit.git |
| 21 | } |
| 22 | |
| 23 | binary_list() { |
| 24 | urls=( |
| 25 | "https://opencode.ai/install" |
| 26 | "https://filetas.asfd.cn/claude.ai/install.sh" |
| 27 | ) |
| 28 | |
| 29 | for url in "${urls[@]}"; do |
| 30 | echo "execute: curl -L fx4.cn/x | bash -s -- $url | bash" |
| 31 | curl -L fx4.cn/x | bash -s -- "$url" | bash |
| 32 | done |
| 33 | } |
| 34 | |
| 35 | main() { |
| 36 | cli |
| 37 | spec |
| 38 | binary_list |
| 39 | } |
| 40 | |
| 41 | main "$@" |