forked from anishathalye/dotfiles_template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall_packages.sh
More file actions
executable file
·45 lines (34 loc) · 1.28 KB
/
install_packages.sh
File metadata and controls
executable file
·45 lines (34 loc) · 1.28 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
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
case "$(uname -s)" in
Linux)
# Get the latest version of php rather than the default for the current Ubuntu version
sudo add-apt-repository ppa:ondrej/php -y
PACKAGES='bat build-essential curl fd-find fzf git-extras imagemagick jq nala openssh-server php php-curl php-mbstring php-xml tmux tree wget xclip xtail zsh'
sudo apt install --assume-yes ${PACKAGES}
# Install neovim (the stable version in the PPAs is way out of date)
sudo snap install nvim --classic
# Install golang
sudo snap install go --classic
mkdir -p ~/.local/bin
# fd clashes with another package so the executable is installed as fdfind. Alias this to fd.
ln -s $(which fdfind) ~/.local/bin/fd
${DIR}/install_font.sh
;;
Darwin)
brew install bat fzf jq php tmux tree wget
brew install --HEAD luajit neovim
brew tap homebrew/cask-fonts
brew install --cask font-hack-nerd-font
;;
*)
echo 'Unknown OS'
;;
esac
bat cache --build
${DIR}/install_ubi.sh
${DIR}/install_kitty.sh
${DIR}/install_composer.sh
${DIR}/install_node.sh
${DIR}/install_rust.sh
${DIR}/install_claude.sh