-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscript_install_dependencies.sh
34 lines (31 loc) · 1.79 KB
/
script_install_dependencies.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
#!/bash/sh
echo "************************************************************************************************************************************************************************"
echo "*************** ************* ************* ************* ************* ************* ************* ************* ************* ************* ************* ******** **"
echo "* Downloading dependencies **"
echo "*************** ************* ************* ************* ************* ************* ************* ************* ************* ************* ************* ******** **"
echo "************************************************************************************************************************************************************************"
if [ "$(uname)" == "Darwin" ]; then
brew install curl
brew install git
brew install python python3
brew install zip unzip
brew install tree-sitter
brew install luajit
brew install rg fd
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
# this if statement is used to install dependency packages of ubuntu which has the version > 16.x.x
sudo apt update
sudo apt-get install libtool autoconf automake cmake libncurses5-dev g++ build-essential -y
sudo apt-get install curl -y
sudo apt-get install git -y
sudo apt-get install nodejs npm -y
sudo apt-get install zip unzip -y
sudo apt-get install python-dev python-pip python3-dev python3-pip
sudo apt-get install apt-get install ripgrep fd-find -y
sudo apt-get install luajit -y
fi
sudo bash ./script_download_neovim.sh
# Rust
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# cargo install tree-sitter-cli
# sudo npm install -g yarn