mirror of
https://github.com/Ajetski/dotfiles.git
synced 2025-09-30 07:23:17 -09:00
add install script
This commit is contained in:
parent
611785d2b8
commit
6e607c4076
38
.scripts/setup/install_packages
Executable file
38
.scripts/setup/install_packages
Executable file
@ -0,0 +1,38 @@
|
||||
#!/bin/bash
|
||||
|
||||
# update apt then apt install
|
||||
sudo add-apt-repository ppa:neovim-ppa/unstable
|
||||
sudo apt update
|
||||
sudo apt upgrade
|
||||
sudo apt install python2 python3 exa cmake neovim golang-go
|
||||
|
||||
# manual installs
|
||||
if [[ $(command -v exa) ]]; then
|
||||
echo "exa already installed"
|
||||
else
|
||||
cd /tmp
|
||||
wget -c http://old-releases.ubuntu.com/ubuntu/pool/universe/r/rust-exa/exa_0.9.0-4_amd64.deb
|
||||
sudo apt-get install ./exa_0.9.0-4_amd64.deb
|
||||
fi
|
||||
|
||||
if [ -d '~/.nvm' ]; then
|
||||
echo "nvm already installed"
|
||||
else
|
||||
cd /tmp
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
|
||||
nvm install 18
|
||||
nvm alias default 18
|
||||
fi
|
||||
|
||||
if [[ $(command -v lazygit) ]]; then
|
||||
echo "lazygit already installed"
|
||||
else
|
||||
cd /tmp
|
||||
cd lazygit
|
||||
git clone https://github.com/jesseduffield/lazygit.git
|
||||
go install
|
||||
fi
|
||||
|
||||
# install tools from package registries
|
||||
npm i -g yarn
|
||||
|
Loading…
x
Reference in New Issue
Block a user