Giter VIP home page Giter VIP logo

wsl-setup's Introduction

WSL Debian/Ubuntu Dotfiles

This is a simple dotfiles and scripts to setup Windows Subsystem for Linux (WSL) with Debian and Ubuntu based Linux distributions.

Features

Check linked files to more details.

Installation files

  • apps.sh - installs applications.
  • dotfiles.sh - installs Oh My Zsh, .zshrc and Git configs.
  • npm.sh - Node.js and npm settings.
  • setup.sh - main installer.
  • ssh.sh - generate SSH.
  • user.sh - user data to configuration of Git and SSH.
  • utils.sh - support functions for other installers.
  • .zshrc - terminal configs with aliases, paths, plugins and theme (this file is permanent after installation).

Prerequisites

  • Updated Windows 10 or later (recommended is Windows 11)
  • WSL 2 with Debian/Ubuntu based

Installation

Note: I use the Windows 11 Setup Script script to configure Windows, install some apps and WSL. To use the script, just download and open it with PowerShell. If you use it, skip to step Install dotfiles.

Install WSL

If you do not already have WSL, follow these steps to install. Open Powershell by searching for it in Search and right-clicking for a context menu and clicking “Run as Administrator”. Enter the following command:

wsl --install

After restarting, launch Ubuntu.exe from the Start Menu. You’ll be asked to enter a username and password (for sudo stuff).

Install dotfiles

If you already have Windows and WSL installed, run these commands in WSL:

git clone https://github.com/samuelramox/wsl-setup.git
chmod 700 wsl-setup/ -R
cd wsl-setup
./setup.sh

Remote - WSL

Install the Remote - WSL extension in VSCode to get a better experience with WSL.

Reference

Utilities

wsl-setup's People

Contributors

samuelramox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.