31-08-2021

This commit is contained in:
2021-08-31 09:29:05 +02:00
parent 7d89fb0224
commit bb890cba15
28 changed files with 1888 additions and 47 deletions

77
docs/Windows/winget.md Normal file
View File

@@ -0,0 +1,77 @@
# winget
https://github.com/microsoft/winget-cli
https://docs.microsoft.com/en-us/windows/package-manager/?WT.mc_id=thomasmaurer-blog-thmaure
#### Installation:
Nécessite un compte <u>Windows Insider</u>.
Sur le Microsoft Store, installer **App Installer** (Programme d'installation d'application)
La commande **winget** est dispo dans l<u>'Invite de commande</u> ou dans <u>Powershell</u>.
#### Utilisation:
##### Rechercher un paquet:
`winget shearch <paquet>`
```powershell
PS> winget search etcher
Nom ID Version
----------------------------------------------
balenaEtcher Balena.Etcher 1.5.121
UCF Ahlyab.UdemyCouponFetcher 1
```
##### Information sur un paquet:
`winget show <paquet>`
```powershell
PS> winget show etcher
Trouvé balenaEtcher [Balena.Etcher]
Version: 1.5.121
Publisher: Balena Inc.
Author: Balena Inc.
Moniker: etcher
Description: Etcher is a powerful OS image flasher built with web technologies to ensure flashing an SDCard or USB drive is a pleasant and safe experience. It protects you from accidentally writing to your hard-drives, ensures every byte of data was written correctly and much more.
Homepage: https://www.balena.io/etcher
License: Apache License 2.0
License Url: https://raw.githubusercontent.com/balena-io/etcher/v1.5.121/LICENSE
```
##### Installer un paquet:
`winget install <paquet>`
```powershell
PS> winget install balenaEtcher
Trouvé balenaEtcher [Balena.Etcher]
La licence dutilisation de cette application vous est octroyée par son propriétaire.
Microsoft nest pas responsable des paquets tiers et naccorde pas de licences à ceux-ci.
Downloading https://github.com/balena-io/etcher/releases/download/v1.5.121/balenaEtcher-Setup-1.5.121.exe
140 MB / 140 MB
Le code de hachage de linstallation a été vérifié avec succès
Démarrage du package dinstallation... Merci de patienter.
Installé correctement
```
##### Mettre-à-jour un paquet:
`winget upgrade <paquet>`
`winget upgrade --all`
`winget list <paquet>`
##### Désinstaller un paquet:
`winget uninstall <paquet>`