Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions scripts/basic-dev-tools-alpine/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: basic-dev-tools-alpine
description: Install essential development tools (curl, git, wget, build-base, etc)
version: 1.0.0
author: FizzWizzleDazzle
license: MIT
git: https://github.com/bostrot/wsl-scripts
distro: Alpine
2 changes: 2 additions & 0 deletions scripts/basic-dev-tools-alpine/script.noshell
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
apk update
apk add --no-cache curl wget git build-base bash
7 changes: 7 additions & 0 deletions scripts/basic-dev-tools-arch/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: basic-dev-tools-arch
description: Install essential development tools (curl, git, wget, base-devel, etc)
version: 1.0.0
author: FizzWizzleDazzle
license: MIT
git: https://github.com/bostrot/wsl-scripts
distro: Arch
2 changes: 2 additions & 0 deletions scripts/basic-dev-tools-arch/script.noshell
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pacman -Syu --noconfirm
pacman -S --noconfirm curl wget git base-devel
7 changes: 7 additions & 0 deletions scripts/basic-dev-tools-ubuntu/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: basic-dev-tools-ubuntu
description: Install essential development tools (curl, git, wget, build-essential, etc)
version: 1.0.0
author: FizzWizzleDazzle
license: MIT
git: https://github.com/bostrot/wsl-scripts
distro: Ubuntu
2 changes: 2 additions & 0 deletions scripts/basic-dev-tools-ubuntu/script.noshell
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
apt-get update
apt-get install -y curl wget git build-essential software-properties-common apt-transport-https ca-certificates gnupg lsb-release
7 changes: 7 additions & 0 deletions scripts/cpp-dev-tools-alpine/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: cpp-dev-tools-alpine
description: Install C/C++ compilers, CMake, and debugging tools
version: 1.0.0
author: FizzWizzleDazzle
license: MIT
git: https://github.com/bostrot/wsl-scripts
distro: Alpine
2 changes: 2 additions & 0 deletions scripts/cpp-dev-tools-alpine/script.noshell
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
apk update
apk add --no-cache gcc g++ make cmake gdb valgrind clang
7 changes: 7 additions & 0 deletions scripts/cpp-dev-tools-arch/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: cpp-dev-tools-arch
description: Install C/C++ compilers, CMake, and debugging tools
version: 1.0.0
author: FizzWizzleDazzle
license: MIT
git: https://github.com/bostrot/wsl-scripts
distro: Arch
2 changes: 2 additions & 0 deletions scripts/cpp-dev-tools-arch/script.noshell
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pacman -Syu --noconfirm
pacman -S --noconfirm gcc clang cmake make gdb valgrind
7 changes: 7 additions & 0 deletions scripts/cpp-dev-tools-ubuntu/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: cpp-dev-tools-ubuntu
description: Install C/C++ compilers, CMake, and debugging tools
version: 1.0.0
author: FizzWizzleDazzle
license: MIT
git: https://github.com/bostrot/wsl-scripts
distro: Ubuntu
2 changes: 2 additions & 0 deletions scripts/cpp-dev-tools-ubuntu/script.noshell
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
apt-get update
apt-get install -y build-essential gcc g++ make cmake cmake-curses-gui gdb valgrind clang clang-format clang-tidy lldb pkg-config
7 changes: 7 additions & 0 deletions scripts/database-tools-arch/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: database-tools-arch
description: Install PostgreSQL and MySQL client tools, Redis CLI
version: 1.0.0
author: FizzWizzleDazzle
license: MIT
git: https://github.com/bostrot/wsl-scripts
distro: Arch
2 changes: 2 additions & 0 deletions scripts/database-tools-arch/script.noshell
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pacman -Syu --noconfirm
pacman -S --noconfirm postgresql-libs mariadb-clients redis
7 changes: 7 additions & 0 deletions scripts/database-tools-ubuntu/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: database-tools-ubuntu
description: Install PostgreSQL and MySQL client tools, Redis CLI, and MongoDB tools
version: 1.0.0
author: FizzWizzleDazzle
license: MIT
git: https://github.com/bostrot/wsl-scripts
distro: Ubuntu
6 changes: 6 additions & 0 deletions scripts/database-tools-ubuntu/script.noshell
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apt-get update
apt-get install -y postgresql-client mysql-client redis-tools
wget -qO- https://pgp.mongodb.com/server-7.0.asc | gpg --dearmor -o /usr/share/keyrings/mongodb-server-7.0.gpg
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu $(lsb_release -cs)/mongodb-org/7.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-7.0.list
apt-get update
apt-get install -y mongodb-database-tools
7 changes: 7 additions & 0 deletions scripts/docker-toolchain-alpine/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: docker-toolchain-alpine
description: Install Docker CLI and Docker Compose for Alpine Linux
version: 1.0.0
author: FizzWizzleDazzle
license: MIT
git: https://github.com/bostrot/wsl-scripts
distro: Alpine
3 changes: 3 additions & 0 deletions scripts/docker-toolchain-alpine/script.noshell
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
apk update
apk add --no-cache docker-cli docker-cli-compose
addgroup $SUDO_USER docker || true
7 changes: 7 additions & 0 deletions scripts/docker-toolchain-arch/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: docker-toolchain-arch
description: Install Docker Engine and Docker Compose for Arch Linux
version: 1.0.0
author: FizzWizzleDazzle
license: MIT
git: https://github.com/bostrot/wsl-scripts
distro: Arch
4 changes: 4 additions & 0 deletions scripts/docker-toolchain-arch/script.noshell
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pacman -Syu --noconfirm
pacman -S --noconfirm docker docker-compose
systemctl enable docker.service || true
usermod -aG docker $SUDO_USER || true
7 changes: 7 additions & 0 deletions scripts/docker-toolchain-ubuntu/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: docker-toolchain-ubuntu
description: Install Docker Engine and Docker Compose for Ubuntu
version: 1.0.0
author: FizzWizzleDazzle
license: MIT
git: https://github.com/bostrot/wsl-scripts
distro: Ubuntu
8 changes: 8 additions & 0 deletions scripts/docker-toolchain-ubuntu/script.noshell
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apt-get update
apt-get install -y ca-certificates curl gnupg lsb-release
mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update
apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
usermod -aG docker $SUDO_USER || true
7 changes: 7 additions & 0 deletions scripts/dotnet-dev-env-alpine/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: dotnet-dev-env-alpine
description: Install .NET SDK for C# development
version: 1.0.0
author: FizzWizzleDazzle
license: MIT
git: https://github.com/bostrot/wsl-scripts
distro: Alpine
7 changes: 7 additions & 0 deletions scripts/dotnet-dev-env-alpine/script.noshell
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apk update
apk add --no-cache bash icu-libs krb5-libs libgcc libintl libssl3 libstdc++ zlib
wget https://dot.net/v1/dotnet-install.sh -O /tmp/dotnet-install.sh
chmod +x /tmp/dotnet-install.sh
/tmp/dotnet-install.sh --channel 8.0 --install-dir /usr/share/dotnet
ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
rm /tmp/dotnet-install.sh
7 changes: 7 additions & 0 deletions scripts/dotnet-dev-env-arch/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: dotnet-dev-env-arch
description: Install .NET SDK and runtime for C# development
version: 1.0.0
author: FizzWizzleDazzle
license: MIT
git: https://github.com/bostrot/wsl-scripts
distro: Arch
2 changes: 2 additions & 0 deletions scripts/dotnet-dev-env-arch/script.noshell
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pacman -Syu --noconfirm
pacman -S --noconfirm dotnet-sdk aspnet-runtime
7 changes: 7 additions & 0 deletions scripts/dotnet-dev-env-ubuntu/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: dotnet-dev-env-ubuntu
description: Install .NET SDK and runtime for C# development
version: 1.0.0
author: FizzWizzleDazzle
license: MIT
git: https://github.com/bostrot/wsl-scripts
distro: Ubuntu
7 changes: 7 additions & 0 deletions scripts/dotnet-dev-env-ubuntu/script.noshell
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apt-get update
apt-get install -y wget
wget https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb -O /tmp/packages-microsoft-prod.deb
dpkg -i /tmp/packages-microsoft-prod.deb
rm /tmp/packages-microsoft-prod.deb
apt-get update
apt-get install -y dotnet-sdk-8.0
7 changes: 7 additions & 0 deletions scripts/go-toolchain-alpine/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: go-toolchain-alpine
description: Install Go programming language
version: 1.0.0
author: FizzWizzleDazzle
license: MIT
git: https://github.com/bostrot/wsl-scripts
distro: Alpine
4 changes: 4 additions & 0 deletions scripts/go-toolchain-alpine/script.noshell
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apk update
apk add --no-cache go
echo 'export PATH=$PATH:/usr/lib/go/bin:$HOME/go/bin' > /etc/profile.d/go.sh
chmod 644 /etc/profile.d/go.sh
7 changes: 7 additions & 0 deletions scripts/go-toolchain-arch/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: go-toolchain-arch
description: Install Go programming language
version: 1.0.0
author: FizzWizzleDazzle
license: MIT
git: https://github.com/bostrot/wsl-scripts
distro: Arch
4 changes: 4 additions & 0 deletions scripts/go-toolchain-arch/script.noshell
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pacman -Syu --noconfirm
pacman -S --noconfirm go
echo 'export PATH=$PATH:$HOME/go/bin' > /etc/profile.d/go.sh
chmod 644 /etc/profile.d/go.sh
7 changes: 7 additions & 0 deletions scripts/go-toolchain-ubuntu/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: go-toolchain-ubuntu
description: Install Go programming language (latest stable version)
version: 1.0.0
author: FizzWizzleDazzle
license: MIT
git: https://github.com/bostrot/wsl-scripts
distro: Ubuntu
23 changes: 23 additions & 0 deletions scripts/go-toolchain-ubuntu/script.noshell
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apt-get update
apt-get install -y wget
GO_VERSION=$(wget -qO- https://go.dev/VERSION?m=text | head -1)
wget "https://go.dev/dl/${GO_VERSION}.linux-amd64.tar.gz" -O /tmp/go.tar.gz
GO_SHA=$(wget -qO- "https://go.dev/dl/?mode=json&include=all" | \
tr ',{}' '\n\n\n' | grep -A20 "\"${GO_VERSION}.linux-amd64.tar.gz\"" | \
grep '"sha256"' | head -1 | cut -d'"' -f4)
if [ -z "$GO_SHA" ]; then
echo "No checksum published for ${GO_VERSION}"
rm -f /tmp/go.tar.gz
exit 1
fi
echo "$GO_SHA /tmp/go.tar.gz" | sha256sum --check
if [ $? -ne 0 ]; then
echo "Checksum failed"
rm -f /tmp/go.tar.gz
exit 1
fi
rm -rf /usr/local/go
tar -C /usr/local -xzf /tmp/go.tar.gz
echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' > /etc/profile.d/go.sh
chmod 644 /etc/profile.d/go.sh
rm /tmp/go.tar.gz
7 changes: 7 additions & 0 deletions scripts/java-dev-env-alpine/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: java-dev-env-alpine
description: Install OpenJDK 21 with Maven and Gradle build tools
version: 1.0.0
author: FizzWizzleDazzle
license: MIT
git: https://github.com/bostrot/wsl-scripts
distro: Alpine
2 changes: 2 additions & 0 deletions scripts/java-dev-env-alpine/script.noshell
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
apk update
apk add --no-cache openjdk21 maven gradle
7 changes: 7 additions & 0 deletions scripts/java-dev-env-arch/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: java-dev-env-arch
description: Install OpenJDK 21 with Maven and Gradle build tools
version: 1.0.0
author: FizzWizzleDazzle
license: MIT
git: https://github.com/bostrot/wsl-scripts
distro: Arch
2 changes: 2 additions & 0 deletions scripts/java-dev-env-arch/script.noshell
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pacman -Syu --noconfirm
pacman -S --noconfirm jdk21-openjdk maven gradle
7 changes: 7 additions & 0 deletions scripts/java-dev-env-ubuntu/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: java-dev-env-ubuntu
description: Install OpenJDK 21 LTS with Maven and Gradle build tools
version: 1.0.0
author: FizzWizzleDazzle
license: MIT
git: https://github.com/bostrot/wsl-scripts
distro: Ubuntu
4 changes: 4 additions & 0 deletions scripts/java-dev-env-ubuntu/script.noshell
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apt-get update
apt-get install -y openjdk-21-jdk openjdk-21-jre maven gradle
update-alternatives --config java || true
echo 'export JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64' >> "$HOME/.bashrc" || true
7 changes: 7 additions & 0 deletions scripts/kubernetes-tools-arch/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: kubernetes-tools-arch
description: Install kubectl and helm for Kubernetes management
version: 1.0.0
author: FizzWizzleDazzle
license: MIT
git: https://github.com/bostrot/wsl-scripts
distro: Arch
2 changes: 2 additions & 0 deletions scripts/kubernetes-tools-arch/script.noshell
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pacman -Syu --noconfirm
pacman -S --noconfirm kubectl helm
7 changes: 7 additions & 0 deletions scripts/kubernetes-tools-ubuntu/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: kubernetes-tools-ubuntu
description: Install kubectl, helm, and k9s for Kubernetes management
version: 1.0.0
author: FizzWizzleDazzle
license: MIT
git: https://github.com/bostrot/wsl-scripts
distro: Ubuntu
12 changes: 12 additions & 0 deletions scripts/kubernetes-tools-ubuntu/script.noshell
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apt-get update
apt-get install -y apt-transport-https ca-certificates curl
curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.36/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.36/deb/ /' | tee /etc/apt/sources.list.d/kubernetes.list
apt-get update
apt-get install -y kubectl
curl -fsSL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 -o /tmp/get-helm-3.sh
bash /tmp/get-helm-3.sh
rm -f /tmp/get-helm-3.sh
curl -fsSL https://webinstall.dev/k9s -o /tmp/install-k9s.sh
bash /tmp/install-k9s.sh
rm -f /tmp/install-k9s.sh
7 changes: 7 additions & 0 deletions scripts/nodejs-toolchain-alpine/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: nodejs-toolchain-alpine
description: Install Node.js with npm and yarn package managers
version: 1.0.0
author: FizzWizzleDazzle
license: MIT
git: https://github.com/bostrot/wsl-scripts
distro: Alpine
3 changes: 3 additions & 0 deletions scripts/nodejs-toolchain-alpine/script.noshell
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
apk update
apk add --no-cache nodejs npm
npm install -g yarn
7 changes: 7 additions & 0 deletions scripts/nodejs-toolchain-arch/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: nodejs-toolchain-arch
description: Install Node.js LTS with npm and yarn package managers
version: 1.0.0
author: FizzWizzleDazzle
license: MIT
git: https://github.com/bostrot/wsl-scripts
distro: Arch
3 changes: 3 additions & 0 deletions scripts/nodejs-toolchain-arch/script.noshell
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pacman -Syu --noconfirm
pacman -S --noconfirm nodejs npm
npm install -g yarn
7 changes: 7 additions & 0 deletions scripts/nodejs-toolchain-ubuntu/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: nodejs-toolchain-ubuntu
description: Install Node.js LTS with npm and yarn package managers
version: 1.0.0
author: FizzWizzleDazzle
license: MIT
git: https://github.com/bostrot/wsl-scripts
distro: Ubuntu
3 changes: 3 additions & 0 deletions scripts/nodejs-toolchain-ubuntu/script.noshell
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
apt-get install -y nodejs
npm install -g yarn
7 changes: 7 additions & 0 deletions scripts/php-dev-env-alpine/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: php-dev-env-alpine
description: Install PHP with Composer and common extensions
version: 1.0.0
author: FizzWizzleDazzle
license: MIT
git: https://github.com/bostrot/wsl-scripts
distro: Alpine
2 changes: 2 additions & 0 deletions scripts/php-dev-env-alpine/script.noshell
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
apk update
apk add --no-cache php83 php83-curl php83-mbstring php83-openssl php83-phar php83-dom php83-xml php83-xmlwriter php83-tokenizer composer
Loading