pip: synchronize long options, formatting and add --user example (#6605)

This commit is contained in:
Noah
2021-11-07 08:25:16 -05:00
committed by GitHub
parent 15f99db390
commit 4042138a51
3 changed files with 17 additions and 5 deletions

View File

@@ -12,9 +12,13 @@
`pip install {{paquet}}=={{version}}`
- Installe un paquet dans le répertoire utilisateur au lieu de l'emplacement par défaut système :
`pip install --user {{paquet}}`
- Met à jour un paquet :
`pip install -U {{paquet}}`
`pip install --upgrade {{paquet}}`
- Désinstalle un paquet :
@@ -26,7 +30,7 @@
- Installe des paquets à partir d'un fichier :
`pip install -r {{requirements.txt}}`
`pip install --requirement {{requirements.txt}}`
- Affiche les informations d'un paquet installé :

View File

@@ -12,9 +12,13 @@
`pip install {{nama_paket}}=={{versi_paket}}`
- Memasang paket untuk hanya digunakan oleh pengguna saat ini:
`pip install --user {{nama_paket}}`
- Meningkatakan paket ke versi terbaru:
`pip install -U {{nama_paket}}`
`pip install --upgrade {{nama_paket}}`
- Mencopot pemasangan paket:
@@ -26,7 +30,7 @@
- Memasang paket dari berkas:
`pip install -r {{requirements.txt}}`
`pip install --requirement {{requirements.txt}}`
- Menampilkan informasi paket terpasang:

View File

@@ -8,9 +8,13 @@
`pip install {{package_name}}`
- Install a package to the user's directory instead of the system-wide default location:
`pip install --user {{package}}`
- Upgrade a package:
`pip install -U {{package_name}}`
`pip install --upgrade {{package_name}}`
- Uninstall a package: