31-08-2021
This commit is contained in:
77
docs/Windows/winget.md
Normal file
77
docs/Windows/winget.md
Normal 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 d’utilisation de cette application vous est octroyée par son propriétaire.
|
||||
Microsoft n’est pas responsable des paquets tiers et n’accorde 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 l’installation a été vérifié avec succès
|
||||
Démarrage du package d’installation... 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>`
|
||||
|
||||
Reference in New Issue
Block a user