This WSL2 developer setup is designed to help developers quickly bootstrap their WSL2 environment with essential tools and utilities. The setup includes Proxy Configuration, DNS Configuration, Linux CLI Utilities, and Developer Tools.
This setup includes the following components:
- 🌐 Proxy Configuration
- 📡 DNS Configuration
- 💻 Linux CLI Utilities
- 🔧 Developer Tools
The setup installs the following tools and utilities:
Category | Tools & Utilities |
---|---|
💻 Linux CLI Utilities | Wget, Curl, Tar, Unzip, Jq, Htop, Net-tools |
🔧 Developer Tools | Git, Java 20, Latest version of Maven, Python 3 with Pip, K9s, AWS CLI (minimum v2), Kubectl v1.25.6, Kubeseal v0.19.4, Terraform v1.3.4 |
Before proceeding, make sure you have the following installed and configured:
- WSL2
- PowerShell
- Windows proxy configuration
-
Open PowerShell and enter the WSL2 environment:
wsl
-
Clone the repository:
git clone https://github.com/zifamathebula/shell-script-wsl2-developer-setup.git
-
Change to the repository directory:
cd wsl2-developer-setup
-
Execute the bootstrap script:
source bootstrap.sh
After the script completes, your environment will be ready for use.
Once the environment is set up, you can use the installed tools and utilities in your WSL2 environment as needed. The setup includes a comprehensive list of developer tools and utilities that are essential for any development project.
The following features and improvements are planned for future updates:
- Adding more developer tools and utilities
- Improving error handling and installation process
- Making the setup more customizable and user-friendly
- Adding support for more Linux distributions
If you encounter any issues during installation or usage, please open an issue on the GitHub repository or consult the respective tool's documentation for troubleshooting. Common issues include:
- Problems with proxy configuration
- Issues with DNS resolution
- Incorrect tool versions or configurations
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Please feel free to submit issues or pull requests to help improve this script.
- Fork the repository.
- Create a new branch with a descriptive name.
- Make your changes and commit them to the new branch.
- Submit a pull request with your changes.
If you find this script useful and would like to show your appreciation, you can buy me a coffee: