-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·57 lines (43 loc) · 1.71 KB
/
install.sh
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
#!/bin/bash
echo "Git config"
git config --global user.name vighnesh153
git config --global user.email [email protected]
# Install mise (version manager for node, python, etc)
echo "📦 Installing Mise..."
curl https://mise.run | sh
# Install tools using mise
echo "📦 Installing Nodejs..."
~/.local/bin/mise use -g node@20
echo "📦 Installing Denoland..."
~/.local/bin/mise use -g deno@latest
echo "📦 Installing Java..."
~/.local/bin/mise use -g java@openjdk-22
echo "📦 Install HomeBrew 🍺"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
# Add homebrew to path for the installation script to work
export PATH="/opt/homebrew/bin:$PATH"
echo "📦 Updating brew..."
brew update
echo "📦 Installing Chrome..."
brew install --cask google-chrome
echo "📦 Installing VS Code..."
brew install --cask visual-studio-code
echo "📦 Installing Docker..."
brew install --cask docker
# install kotlin cli compiler (https://kotlinlang.org/docs/command-line.html)
echo "📦 Installing kotlin..."
brew install kotlin
echo "📦 Installing iterm2..."
brew install --cask iterm2
echo "📦 Installing rectangle..."
brew install --cask rectangle
# Install oh-my-zsh
export ZSH="$HOME/oh-my-zsh"
export ZSH_CUSTOM="$ZSH/custom"
echo "📦 Installing oh-my-zsh..."
sh -c "$(curl -fsSL https://install.ohmyz.sh)" "" --unattended
# Plugins
echo "📦 Installing oh-my-zsh plugin: zsh-autosuggestions..."
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
echo "📦 Installing oh-my-zsh plugin: zsh-syntax-highlighting..."
git clone https://github.com/zsh-users/zsh-syntax-highlighting $ZSH_CUSTOM/plugins/zsh-syntax-highlighting