Skip to content

Commit 6004e02

Browse files
committed
Update readme
1 parent 0dd7a66 commit 6004e02

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

README.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,56 @@
11
# AnyPackage.Wsl
22

3+
[![gallery-image]][gallery-site]
4+
[![build-image]][build-site]
5+
[![cf-image]][cf-site]
6+
7+
[gallery-image]: https://img.shields.io/powershellgallery/dt/AnyPackage.Wsl
8+
[build-image]: https://img.shields.io/github/actions/workflow/status/anypackage/wsl/ci.yml
9+
[cf-image]: https://img.shields.io/codefactor/grade/github/anypackage/wsl
10+
[gallery-site]: https://www.powershellgallery.com/packages/AnyPackage.Wsl
11+
[build-site]: https://github.com/anypackage/wsl/actions/workflows/ci.yml
12+
[cf-site]: https://www.codefactor.io/repository/github/anypackage/wsl
13+
314
Windows Subsystem for Linux provider for AnyPackage.
15+
16+
## Install AnyPackage.Wsl
17+
18+
```powershell
19+
Install-PSResource AnyPackage.Wsl
20+
```
21+
22+
## Import AnyPackage.Wsl
23+
24+
```powershell
25+
Import-Module AnyPackage.Wsl
26+
```
27+
28+
## Sample usages
29+
30+
### Find available distributions
31+
32+
```powershell
33+
Find-Package
34+
```
35+
36+
### Get list of installed distributions
37+
38+
```powershell
39+
Get-Package -Name *Ubuntu*
40+
```
41+
42+
### Install distribution
43+
44+
> Note: Installation uses --no-launch parameter. This does not fully complete
45+
> installation. To finish installation run the suggested command to configure
46+
> Linux username and password.
47+
48+
```powershell
49+
Install-Package -Name *Ubuntu*
50+
```
51+
52+
### Uninstall distribution
53+
54+
```powershell
55+
Get-Package -Name *Ubuntu* | Uninstall-Package
56+
```

0 commit comments

Comments
 (0)