-
Notifications
You must be signed in to change notification settings - Fork 0
/
install_ubuntu_nvim.sh
34 lines (28 loc) · 1.19 KB
/
install_ubuntu_nvim.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
sudo apt-get install -y tmux htop git rsync flake8 jq nmon git-lfs mosh fuse libfuse2
# install ripgrep
wget https://github.com/BurntSushi/ripgrep/releases/download/13.0.0/ripgrep_13.0.0_amd64.deb
sudo dpkg -i ripgrep_13.0.0_amd64.deb
rm ripgrep_13.0.0_amd64.deb
# Install mar-muel specific dotfiles
git clone https://github.com/mar-muel/dotfiles.git ~/dotfiles
cd ~/dotfiles && chmod +x set_ubuntu.sh && bash set_ubuntu.sh
cd ~ && source ~/.bashrc
# install neovim
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage
sudo mv ./nvim.appimage /usr/bin/nvim
sudo chmod +x /usr/bin/nvim
echo "alias vim='nvim'" >> .bash_aliases
mkdir -p ~/.config
cp -R ~/dotfiles/nvim/ ~/.config/nvim
# tmux setup
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/scripts/install_plugins.sh
# Install miniconda
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh
bash ~/miniconda.sh -b -p $HOME/miniconda
$HOME/miniconda/bin/conda init bash
source ~/.bashrc
rm ~/miniconda.sh
# install node
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
source ~/.bashrc
nvm install v20.9.0 && nvm use v20.9.0