Update Bootstrap.sh

This commit is contained in:
Werner
2022-12-02 13:08:12 -03:00
parent ff546a73ce
commit 06d05c15eb

View File

@ -5,13 +5,17 @@
sudo apt update && sudo apt upgrade -y sudo apt update && sudo apt upgrade -y
# Dependencies # Dependencies
sudo apt install -y --no-install-recommends \ sudo apt install -y --no-install-recommends \
autoconf \
automake \
bash \ bash \
ca-certificates \ ca-certificates \
clang \ clang \
cmake \ cmake \
curl \ curl \
ffmpeg \ ffmpeg \
file \
g++ \ g++ \
gcc \ gcc \
gh \ gh \
@ -19,12 +23,14 @@ sudo apt install -y --no-install-recommends \
gnupg \ gnupg \
gzip \ gzip \
gzip \ gzip \
iputils-ping \
libc6-dev \ libc6-dev \
libluajit-5.1-dev \
libncurses5-dev \
libssl-dev \ libssl-dev \
libudev-dev \ libudev-dev \
llvm \ llvm \
lsb-release \ lsb-release \
youtube-dl \
make \ make \
mono-complete \ mono-complete \
nano \ nano \
@ -37,8 +43,13 @@ sudo apt install -y --no-install-recommends \
unzip \ unzip \
wget \ wget \
xz-utils \ xz-utils \
youtube-dl \
zsh zsh
# PowerShell
sudo snap install powershell --classic
# Rust # Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
@ -46,24 +57,26 @@ source "$HOME/.cargo/env"
rustup toolchain install nightly rustup toolchain install nightly
rustup +nightly component add rust-src rustup +nightly component add rust-src
# ASDF # Tools
git clone https://github.com/asdf-vm/asdf ~/.asdf git clone https://github.com/asdf-vm/asdf ~/.asdf
asdf plugin add dotnet https://github.com/hensou/asdf-dotnet cargo install \
asdf plugin add elixir https://github.com/asdf-vm/asdf-elixir bandwhich \
asdf plugin add erlang https://github.com/asdf-vm/asdf-erlang bat \
asdf plugin add golang https://github.com/kennyp/asdf-golang cbindgen \
asdf plugin add gradle https://github.com/rfrancis/asdf-gradle du-dust \
asdf plugin add groovy https://github.com/weibemoura/asdf-groovy fd-find \
asdf plugin add haskell https://github.com/vic/asdf-haskell grex \
asdf plugin add java https://github.com/halcyon/asdf-java hyperfine \
asdf plugin add kotlin https://github.com/asdf-community/asdf-kotlin naga-cli \
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs procs \
asdf plugin add php https://github.com/asdf-community/asdf-php ripgrep \
asdf plugin add python https://github.com/danhper/asdf-python rmesg \
asdf plugin add ruby https://github.com/asdf-vm/asdf-ruby sd \
asdf plugin add scala https://github.com/asdf-community/asdf-scala tokei \
wasm-bindgen-cli \
ytop
# Docker # Docker
@ -105,6 +118,43 @@ cp ./Config/.ssh/config ~/.ssh/config
cp ./Config/.zshrc ~/.zshrc cp ./Config/.zshrc ~/.zshrc
# ASDF
asdf plugin add dotnet https://github.com/hensou/asdf-dotnet
asdf plugin add elixir https://github.com/asdf-vm/asdf-elixir
asdf plugin add erlang https://github.com/asdf-vm/asdf-erlang
asdf plugin add golang https://github.com/kennyp/asdf-golang
asdf plugin add gradle https://github.com/rfrancis/asdf-gradle
asdf plugin add groovy https://github.com/weibemoura/asdf-groovy
asdf plugin add haskell https://github.com/vic/asdf-haskell
asdf plugin add java https://github.com/halcyon/asdf-java
asdf plugin add kotlin https://github.com/asdf-community/asdf-kotlin
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs
asdf plugin add php https://github.com/asdf-community/asdf-php
asdf plugin add python https://github.com/danhper/asdf-python
asdf plugin add ruby https://github.com/asdf-vm/asdf-ruby
asdf plugin add scala https://github.com/asdf-community/asdf-scala
# .NET
asdf install dotnet 7.0.100
asdf global dotnet 7.0.100
# Java
asdf install java temurin-19.0.1+10
asdf global java temurin-19.0.1+10
# Erlang
asdf install erlang 25.1.2
asdf global erlang 25.1.2
# Elixir
asdf install elixir 1.14.2-otp-25
asdf global elixir 1.14.2-otp-25
# Firewall # Firewall
sudo ufw allow 5000 sudo ufw allow 5000