-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathprograms.sh
More file actions
executable file
·56 lines (46 loc) · 1.59 KB
/
programs.sh
File metadata and controls
executable file
·56 lines (46 loc) · 1.59 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
#!/usr/bin/env bash
# Install Homebrew if not already installed
if ! command -v brew &> /dev/null; then
echo "Installing Homebrew..."
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Add Homebrew to PATH for ARM Macs
if [[ $(uname -m) == "arm64" ]]; then
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
fi
fi
# Update Homebrew
brew update
# Install applications
echo "Installing applications..."
brew install --cask google-chrome
brew install --cask docker
brew install --cask alacritty
brew install curl
brew install neovim
brew install tmux
brew install nvm
brew install ripgrep
# Install fonts
echo "Installing fonts..."
brew install --cask font-fira-code-nerd-font
# Remove quarantine from Alacritty
sudo xattr -d com.apple.quarantine /Applications/Alacritty.app 2>/dev/null || true
# Set up Node.js via nvm
echo "Installing Node.js..."
export NVM_DIR="$HOME/.nvm"
mkdir -p "$NVM_DIR"
[ -s "$(brew --prefix nvm)/nvm.sh" ] && . "$(brew --prefix nvm)/nvm.sh"
nvm install node
# Install Claude Code
echo "Installing Claude Code..."
npm install -g @anthropic-ai/claude-code
# Install Claude Code plugins
if command -v claude &> /dev/null; then
echo "Installing Claude Code plugins..."
claude plugin install Notion@claude-plugins-official
claude plugin install linear@claude-plugins-official
claude plugin install context7@claude-plugins-official
fi
echo "Installation complete!"
echo "Run './install.sh' to set up dotfiles, then restart your terminal."