-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
67 lines (55 loc) · 2.45 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
58
59
60
61
62
63
64
65
66
67
#!/bin/bash
#----------------------------------------------------------------------------
# Homebrew
#----------------------------------------------------------------------------
echo
echo "** Installing Homebrew"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew update
#----------------------------------------------------------------------------
# GitHub CLI
#----------------------------------------------------------------------------
echo
echo "** Downloading GitHub CLI"
brew install gh
#----------------------------------------------------------------------------
# Oh My Zsh
#----------------------------------------------------------------------------
echo
echo "** Installing Oh My Zsh & powerlevel10k and plugins"
# Copy the .zshrc file
ln -sf ~/dotfiles-mac/config/.zshrc ~/.zshrc
# Install Oh My Zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# Oh my ZSH - theme
git clone https://github.com/romkatv/powerlevel10k.git ~/.oh-my-zsh/custom/themes/powerlevel10k --depth 1
ln -sf ~/dotfiles-mac/config/.p10k.zsh ~/.p10k.zsh
# Oh my ZSH - plugins
git clone https://github.com/zsh-users/zsh-autosuggestions.git ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions --depth 1
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting --depth 1
#----------------------------------------------------------------------------
# nvm (nodejs) & Yarn
#----------------------------------------------------------------------------
echo
echo "** Installing nvm & Yarn"
brew install nvm yarn
#----------------------------------------------------------------------------
# Pyenv (Python) & Uv (Python package manager)
#----------------------------------------------------------------------------
echo
echo "** Installing Pyenv & Uv"
brew install pyenv uv
#----------------------------------------------------------------------------
# Rbenv (Ruby) & Ruby-Build
#----------------------------------------------------------------------------
echo
echo "** Installing Rbenv & Ruby-Build"
brew install rbenv ruby-build
#----------------------------------------------------------------------------
# PHP & Composer
#----------------------------------------------------------------------------
echo
echo "** Installing PHP & Composer"
brew install php composer pkg-config imagemagick
pecl install imagick
export PATH=$PATH:~/.composer/vendor/bin