-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.sh
More file actions
125 lines (99 loc) · 3.46 KB
/
init.sh
File metadata and controls
125 lines (99 loc) · 3.46 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
# NVM
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
nvm install 24
# AWS CLI
brew install awscli
# Azure CLI: https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-macos?view=azure-cli-latest
brew install azure-cli
# Claude
brew install --cask claude
# Claude Code
curl -fsSL https://claude.ai/install.sh | bash
# ClickHouse
curl https://clickhouse.com/cli | sh
clickhousectl local install stable
mkdir -p "$HOME/.clickhouse-data"
# LaunchAgent for auto-start on login
mkdir -p "$HOME/Library/LaunchAgents"
cat > "$HOME/Library/LaunchAgents/com.clickhouse.local.plist" <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key><string>com.clickhouse.local</string>
<key>ProgramArguments</key>
<array>
<string>$HOME/.local/bin/clickhousectl</string>
<string>local</string>
<string>server</string>
<string>start</string>
<string>--foreground</string>
</array>
<key>WorkingDirectory</key><string>$HOME/.clickhouse-data</string>
<key>RunAtLoad</key><true/>
<key>KeepAlive</key><true/>
<key>StandardOutPath</key><string>/tmp/clickhouse-local.out.log</string>
<key>StandardErrorPath</key><string>/tmp/clickhouse-local.err.log</string>
</dict>
</plist>
EOF
launchctl unload "$HOME/Library/LaunchAgents/com.clickhouse.local.plist" 2>/dev/null || true
launchctl load "$HOME/Library/LaunchAgents/com.clickhouse.local.plist"
# MongoDB
brew tap mongodb/brew
brew install mongodb-community@8.0
brew services start mongodb-community@8.0
# MongoDB Atlas CLI: https://www.mongodb.com/docs/atlas/cli/current
brew install mongodb-atlas-cli
# MongoDB Compass
brew install mongodb-compass
# npmclean
echo 'alias npm-clean="rm -rf node_modules/ && rm -f package-lock.json && npm i && npm outdated"' >> ~/.zshrc
alias npm-clean="rm -rf node_modules/ && rm -f package-lock.json && npm i && npm outdated"
# ESLint
npm i eslint -g
npm i @eslint/js -g
# Playwright
npm install -g @playwright/cli@latest
playwright-cli --help
playwright-cli install-browser
playwright-cli install --skills
# PM2
npm i pm2 -g
# GitHub CLI
brew install gh
# GitHub Desktop
brew install github
# ngrok
brew install ngrok
# Redis
brew install redis
brew services start redis
# Salesforce CLI
brew install --cask salesforce-cli
# Slack CLI: https://github.com/rockymadden/slack-cli
brew tap rockymadden/rockymadden
brew install rockymadden/rockymadden/slack-cli
# Visual Studio Code
brew install visual-studio-code
# Visual Studio Code Extensions
code --install-extension Anthropic.claude-code
code --install-extension dbaeumer.vscode-eslint
code --install-extension DigitalBrainstem.javascript-ejs-support
code --install-extension mechatroner.rainbow-csv
code --install-extension ms-ossdata.vscode-pgsql
code --install-extension ms-vsliveshare.vsliveshare
code --install-extension redhat.vscode-yaml
# Mac App Store CLI
brew install mas
# Azure VPN Client
mas install 1553936137
# Slack
mas install 803453959