{"id":13484814,"url":"https://github.com/tanakh/wsl-get","last_synced_at":"2025-03-27T16:31:23.305Z","repository":{"id":57672392,"uuid":"378438700","full_name":"tanakh/wsl-get","owner":"tanakh","description":null,"archived":false,"fork":false,"pushed_at":"2021-06-19T16:25:25.000Z","size":12,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T04:00:28.104Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tanakh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-19T15:02:03.000Z","updated_at":"2022-11-22T18:33:13.000Z","dependencies_parsed_at":"2022-08-31T02:40:32.697Z","dependency_job_id":null,"html_url":"https://github.com/tanakh/wsl-get","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/tanakh%2Fwsl-get","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanakh%2Fwsl-get/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanakh%2Fwsl-get/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tanakh%2Fwsl-get/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tanakh","download_url":"https://codeload.github.com/tanakh/wsl-get/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245882394,"owners_count":20687879,"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":[],"created_at":"2024-07-31T17:01:34.616Z","updated_at":"2025-03-27T16:31:22.976Z","avatar_url":"https://github.com/tanakh.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# wsl-get\n\nA command line tool to install any Linux distribution on WSL2.\n \n## Requirements\n\n* [Rust compiler](https://www.rust-lang.org/)\n\n* [Docker Desktop](https://www.docker.com/products/docker-desktop)\n\n    This program uses the docker command to get a rootfs tarball that can be used with WSL.\n\n    You can install Docker Desktop via `winget`:\n\n    ```\n    \u003e winget install docker\n    ```\n\n## Install\n\n```\n\u003e cargo install wsl-get\n```\n\n## Usage\n\n### Install distribution\n\n```\n\u003e wsl-get install \u003cdistribution\u003e\n```\n\nTo find available distributions and versions, search on [Docker Hub](https://hub.docker.com/).\nAnd you can install it by just replacing `docker pull` with `wsl-get install` in the command. For example,\n\nInstalling Ubuntu:\n\n```\n\u003e wsl-get install ubuntu\n```\n\nInstalling specified version of distribution:\n\n```\n\u003e wsl-get install ubuntu:21.04\n```\n\nYou can specify the name of installation.\n\n```\n\u003e wsl-get install \u003cdistribution\u003e \u003cinstall-name\u003e\n```\n\nYou can create many instances of same distribution.\n\n```\n\u003e wsl-get install ubuntu ubuntu-1\n\u003e wsl-get install ubuntu ubuntu-2\n\u003e wsl-get install ubuntu ubuntu-3\n```\n\n### Uninstall distribution\n\n```\n\u003e wsl-get uninstall \u003cdistribution\u003e\n```\n\n### List installed distributions\n\n```\n\u003e wsl-get list\n```\n\nJust same as `wsl.exe --list`.\n\n### Set default user of distribution\n\n```\n\u003e wsl-get set-default-user \u003cdistribution\u003e \u003cusername\u003e\n```\n\n### Download rootfs tarball\n\nYou can download the rootfs tarball in order to install the distribution yourself using the `wsl.exe` command.\n\n```\n\u003e wsl-get download \u003cdistribution\u003e\n```\n\nFor more information, please run `wsl-get help`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanakh%2Fwsl-get","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftanakh%2Fwsl-get","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanakh%2Fwsl-get/lists"}