{"id":13342484,"url":"https://github.com/Sandbergo/wsl-setup-dotfiles","last_synced_at":"2025-03-12T01:37:25.973Z","repository":{"id":70384130,"uuid":"279148398","full_name":"Sandbergo/wsl-setup-dotfiles","owner":"Sandbergo","description":":computer: (Almost) automatic setup for a development environment via WSL2","archived":false,"fork":false,"pushed_at":"2022-07-23T09:32:50.000Z","size":3028,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-24T12:12:46.408Z","etag":null,"topics":["bashrc","dotfiles","setup-development-environment","wsl"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sandbergo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-12T21:09:07.000Z","updated_at":"2023-09-08T18:09:56.000Z","dependencies_parsed_at":"2023-05-17T22:45:22.023Z","dependency_job_id":null,"html_url":"https://github.com/Sandbergo/wsl-setup-dotfiles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sandbergo%2Fwsl-setup-dotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sandbergo%2Fwsl-setup-dotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sandbergo%2Fwsl-setup-dotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sandbergo%2Fwsl-setup-dotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sandbergo","download_url":"https://codeload.github.com/Sandbergo/wsl-setup-dotfiles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243141285,"owners_count":20242815,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bashrc","dotfiles","setup-development-environment","wsl"],"created_at":"2024-07-29T19:29:30.136Z","updated_at":"2025-03-12T01:37:25.965Z","avatar_url":"https://github.com/Sandbergo.png","language":"Shell","readme":"\u003ch1 align=\"center\"\u003eWSL Setup Dotfiles\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n  [![Status](https://img.shields.io/badge/status-active-success.svg)]() \n  [![License](https://img.shields.io/badge/license-MIT-blue.svg)](/LICENSE)\n\n\u003c/div\u003e\n\n---\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"img/desktop.PNG\" alt=\"Example terminal\"\u003e\n\u003c/p\u003e\n\u003cbr\u003e \n\n## 📝 Table of Contents\n- [About](#about)\n- [Getting Started](#getting_started)\n- [Usage](#usage)\n- [Authors](#authors)\n- [Acknowledgments](#acknowledgement)\n\n\n## 🧐 About \u003ca name = \"about\"\u003e\u003c/a\u003e\nAn (almost) automatic script for setting up a liveable bash terminal via Ubuntu in Windows Subsystem for Linux, as well as the home for (some of my) dotfiles. \n\n## 🏁 Getting Started \u003ca name = \"getting_started\"\u003e\u003c/a\u003e\n\nFirst, Install DejaVu Sans Mono from nerd fonts, download [the Windows Compatible version](https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/DejaVuSansMono/Regular/complete/DejaVu%20Sans%20Mono%20Nerd%20Font%20Complete%20Mono%20Windows%20Compatible.ttf).\n\n### Install WSL\n\nIf you do not already have `WSL`, follow these steps to install. First, download the Windows Terminal from the Microsoft Store. Open `Powershell`, and run the following commands:\n\n```\nEnable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux\nEnable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform\n```\n\nAdditionally, if you want to make WSL 2 your default architecture you can do so with this command:\n\n```\nwsl --set-default-version 2\n```\n_Note: Some people have had issues with this step, I'm looking to fix this and any feedback is much appreciated._  \n\nAfter restarting, install Ubuntu from the [Microsoft Store](https://www.microsoft.com/pt-br/p/ubuntu/9nblggh4msv6?activetab=pivot:overviewtab) or through the terminal:\n\n```\ncurl.exe -L -o ubuntu.appx https://aka.ms/wsl-ubuntu\n```\n\nLaunch `Ubuntu.exe` from the _Start Menu_. You’ll be asked to enter a username and password.\n\n### Install packages \n\nLSDeluxe:\nDownload the latest `.deb` package from the [release page](https://github.com/Peltoche/lsd/releases) and install it via:\n\n```sh\nsudo dpkg -i lsd_7.2.0_amd64.deb\n```\n\n### Set up dotfiles\n\nRun these commands in the bash terminal:\n\n```\ncd \ngit clone https://github.com/Sandbergo/wsl-setup-dotfiles\nchmod 700 wsl-setup-dotfiles/ -R\ncd wsl-setup-dotfiles\nsudo apt update\n./install.sh\n./symlinks.sh\n```\n\n### Windows Terminal \n\nCopy the `settings.json` file to the appropriate location in your file system. \n\n### Remote - WSL\n\nInstall the [Remote - WSL](https://aka.ms/vscode-remote/download/wsl) extension in VSCode to get a better experience with `WSL`.\n\n\n## 🎈 Usage \u003ca name=\"usage\"\u003e\u003c/a\u003e\nFork the repository and track your own dotfiles.\n\n\u003cimg src=\"img/wsl.jpg\"\u003e\n\n## ✍️ Authors \u003ca name = \"authors\"\u003e\u003c/a\u003e\n- Lars Sandberg [@Sandbergo](https://github.com/Sandbergo)\n\n\n## 🎉 Acknowledgements \u003ca name = \"acknowledgement\"\u003e\u003c/a\u003e\n- Trent Nicholson [@NICHTJ3](https://github.com/NICHTJ3)\n- Samuel Ramos [@samuelramox](https://github.com/samuelramox)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSandbergo%2Fwsl-setup-dotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSandbergo%2Fwsl-setup-dotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSandbergo%2Fwsl-setup-dotfiles/lists"}