# shayne/wsl2-hacks

Useful snippets / tools for using WSL2 as a development environment

Repository: https://github.com/shayne/wsl2-hacks
Canonical: https://ross.abutalabs.com/products/wsl2-hacks
Language: Shell
License Family: other
Last push: 2022-02-07T19:41:56+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2621, "days_push": 1668, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1310, forks 107 (observed 2026-08-28T04:04:19.923490+00:00)

## What it is
A collection of shell snippets and hacks for using WSL2 as a Linux development environment on Windows, most notably enabling systemd and snap support inside WSL2. It is a curated guide of scripts rather than an installable software package.

## Use cases
- enable systemd in wsl2
- run snap packages inside wsl2
- set up wsl2 as a development environment
- auto-start services in wsl2
- make systemctl work in windows subsystem for linux

## When to choose
- you want community-tested snippets to enable systemd or snaps on WSL2
- you are setting up a WSL2 dev environment and want practical shell hacks

## When to avoid
- you need a supported, maintained tool rather than manual shell hacks
- you run a recent WSL2 version with native systemd support
- you need a licensed, packaged software product

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: developer-tools, configuration-management, cli
- domain: developer-tools, operating-systems
- platform: windows, cli
- tags: wsl2, systemd, shell-scripts, windows-subsystem-for-linux, dev-environment, command-line, linux

## Member repositories
- shayne/wsl2-hacks (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:19.923490+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:49:56.530308+00:00, confidence not recorded.
  - readme: https://github.com/shayne/wsl2-hacks (fetched 2026-08-28T04:04:19.923490+00:00, sha 26891c6af485)
- Data as of 2026-08-30T08:39:29.467469+00:00.
