{"id":22728813,"url":"https://github.com/scottmckendry/ps-arch-wsl","last_synced_at":"2025-04-12T17:06:38.736Z","repository":{"id":240571002,"uuid":"802974041","full_name":"scottmckendry/ps-arch-wsl","owner":"scottmckendry","description":"Install Arch on Windows the easy way","archived":false,"fork":false,"pushed_at":"2024-05-25T01:39:20.000Z","size":23,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T11:21:25.209Z","etag":null,"topics":["archlinux","powershell","wsl"],"latest_commit_sha":null,"homepage":"https://powershellgallery.com/packages/ps-arch-wsl","language":"PowerShell","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/scottmckendry.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-05-19T18:56:40.000Z","updated_at":"2024-10-17T23:37:08.000Z","dependencies_parsed_at":"2025-02-05T02:37:01.452Z","dependency_job_id":"3b16a690-07ce-4eed-95c0-8ee5dab2656a","html_url":"https://github.com/scottmckendry/ps-arch-wsl","commit_stats":null,"previous_names":["scottmckendry/ps-arch-wsl"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottmckendry%2Fps-arch-wsl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottmckendry%2Fps-arch-wsl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottmckendry%2Fps-arch-wsl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottmckendry%2Fps-arch-wsl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scottmckendry","download_url":"https://codeload.github.com/scottmckendry/ps-arch-wsl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248602302,"owners_count":21131615,"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":["archlinux","powershell","wsl"],"created_at":"2024-12-10T17:18:04.470Z","updated_at":"2025-04-12T17:06:38.712Z","avatar_url":"https://github.com/scottmckendry.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"A simple PowerShell module to aid in the installation of Arch Linux on Windows Subsystem for Linux (WSL).\n\nUses the pre-built distribution available from [yuk7's GitHub](https://github.com/yuk7/ArchWSL).\n\nAutomates the installation process by:\n\n-   Installing yuk7's signing key to the local machine's trusted keys.\n-   Downloads and installs the appx package from the latest release.\n-   Initialises the pacman keyring and updates the system.\n-   Installs the `git` and `base-devel` packages.\n-   Optionally creates a new user account and sets the password (Using a `PSCredential` object).\n-   Optionally runs a post-install script to perform any additional configuration.\n\n## 📦 Installation\n\n```powershell\nInstall-Module -Name ps-arch-wsl\n```\n\n## 🚀 Usage\n\nInstall with the default configuration (`root` user account only, no post-install script):\n\n```powershell\n# Must be run as an administrator\nInstall-ArchWSL\n```\n\nUninstall:\n\n```powershell\nUninstall-ArchWSL\n```\n\n## 🧙‍♂️ Advanced Usage\n\nInstall with a custom user account and post-install script:\n\n\u003e [!TIP]\n\u003e The post-install script must be a relative path to the script file from the current working directory.\n\n```bash\n#!/bin/bash\n# post-install.sh\ncd ~\nmkdir git \u0026\u0026 cd git\ngit clone https://github.com/scottmckendry/dots \u0026\u0026 cd dots\n./setup.sh\n```\n\n```powershell\n#requires -RunAsAdministrator\n$Credential = Get-Credential -UserName \"scott\"\nInstall-ArchWSL -Credential $Credential -PostInstallScript \"./post-install.sh\"\n```\n\n[Example in my personal dotfiles](https://github.com/scottmckendry/Windots/tree/main/wsl)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottmckendry%2Fps-arch-wsl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscottmckendry%2Fps-arch-wsl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottmckendry%2Fps-arch-wsl/lists"}