Last active
July 19, 2026 10:49
-
-
Save kirgizmustafa17/1eaa9b4e00b7ac68456929260608b778 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| << 'ONE-LINER' | |
| curl -fsSL "https://gist.github.com/kirgizmustafa17/1eaa9b4e00b7ac68456929260608b778/raw/485507aa037ebd8a8ccc107d59f1340360d32507/gistfile1.sh" | bash | |
| ONE-LINER | |
| set -euo pipefail | |
| echo "=========================================" | |
| echo " Ubuntu WSL Development Environment Setup" | |
| echo "=========================================" | |
| if [[ $EUID -eq 0 ]]; then | |
| echo "Lütfen scripti root olarak değil normal kullanıcı ile çalıştırın." | |
| exit 1 | |
| fi | |
| echo | |
| echo "==> 1. Sistem güncelleniyor..." | |
| sudo apt update | |
| sudo apt upgrade -y | |
| sudo apt autoremove -y | |
| echo | |
| echo "==> 2. Temel geliştirme araçları kuruluyor..." | |
| sudo apt install -y \ | |
| build-essential \ | |
| git \ | |
| curl \ | |
| wget \ | |
| zip \ | |
| unzip \ | |
| ca-certificates \ | |
| software-properties-common \ | |
| pkg-config \ | |
| sqlite3 \ | |
| libsqlite3-dev \ | |
| apt-transport-https \ | |
| gnupg | |
| echo | |
| echo "==> 3. Python ortamı kuruluyor..." | |
| sudo apt install -y \ | |
| python3 \ | |
| python3-dev \ | |
| python3-pip \ | |
| python3-venv \ | |
| python3-setuptools \ | |
| python3-wheel \ | |
| python-is-python3 \ | |
| pipx | |
| echo | |
| echo "==> 4. Node.js LTS kuruluyor..." | |
| curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - | |
| sudo apt install -y nodejs | |
| echo | |
| echo "==> 5. Global npm paketleri kuruluyor..." | |
| sudo npm install -g \ | |
| npm \ | |
| pnpm \ | |
| yarn \ | |
| typescript \ | |
| tsx \ | |
| eslint \ | |
| prettier | |
| echo | |
| echo "==> 6. GitHub CLI kuruluyor..." | |
| (type -p wget >/dev/null || sudo apt install wget -y) | |
| sudo mkdir -p -m 755 /etc/apt/keyrings | |
| wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg \ | |
| | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg >/dev/null | |
| sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg | |
| echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" \ | |
| | sudo tee /etc/apt/sources.list.d/github-cli.list >/dev/null | |
| sudo apt update | |
| sudo apt install -y gh | |
| echo | |
| echo "=========================================" | |
| echo "Kurulum tamamlandı." | |
| echo "=========================================" | |
| echo | |
| echo "Versiyonlar:" | |
| echo "-----------------------------------------" | |
| python3 --version | |
| pip3 --version | |
| node -v | |
| npm -v | |
| git --version | |
| gh --version | |
| sqlite3 --version | |
| echo | |
| echo "=========================================" | |
| echo "GitHub giriş işlemi başlatılıyor..." | |
| echo "=========================================" | |
| echo | |
| gh auth login | |
| gh auth setup-git | |
| echo | |
| echo "=========================================" | |
| echo "Kurulum başarıyla tamamlandı." | |
| echo "=========================================" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment