<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://support.sofakom.fr/index.php?action=history&amp;feed=atom&amp;title=WSL_%3A_Console_linux_sur_Windows</id>
	<title>WSL : Console linux sur Windows - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://support.sofakom.fr/index.php?action=history&amp;feed=atom&amp;title=WSL_%3A_Console_linux_sur_Windows"/>
	<link rel="alternate" type="text/html" href="https://support.sofakom.fr/index.php?title=WSL_:_Console_linux_sur_Windows&amp;action=history"/>
	<updated>2026-05-06T15:20:24Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>https://support.sofakom.fr/index.php?title=WSL_:_Console_linux_sur_Windows&amp;diff=2133&amp;oldid=prev</id>
		<title>Gdaubeze le 6 août 2025 à 08:45</title>
		<link rel="alternate" type="text/html" href="https://support.sofakom.fr/index.php?title=WSL_:_Console_linux_sur_Windows&amp;diff=2133&amp;oldid=prev"/>
		<updated>2025-08-06T08:45:02Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;◂ Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 6 août 2025 à 10:45&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;Ligne 3 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 3 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Source : https://learn.microsoft.com/fr-fr/windows/wsl/install&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Source : https://learn.microsoft.com/fr-fr/windows/wsl/install&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;canvas&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Installation de WSL ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Installation de WSL ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l50&quot;&gt;Ligne 50 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 49 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;wsl --set-version &amp;amp;lt;NomDistro&amp;amp;gt; 2&amp;lt;/pre&amp;gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;wsl --set-version &amp;amp;lt;NomDistro&amp;amp;gt; 2&amp;lt;/pre&amp;gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ex. :&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ex. :&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;wsl --set-version Ubuntu-20.04 2&amp;lt;/pre&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;  &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;wsl --set-version Ubuntu-20.04 2&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/canvas&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gdaubeze</name></author>
	</entry>
	<entry>
		<id>https://support.sofakom.fr/index.php?title=WSL_:_Console_linux_sur_Windows&amp;diff=2132&amp;oldid=prev</id>
		<title>Gdaubeze : Page créée avec « Category:LinuxCategory:Windows  Source : https://learn.microsoft.com/fr-fr/windows/wsl/install  &lt;canvas&gt; == Installation de WSL ==  === Prérequis === Vous devez exécuter Windows 10 version 2004 ou ultérieure (build 19041 ou supérieure) ou Windows 11 pour utiliser les commandes ci-dessous. Pour les versions antérieures, consultez la page d’installation manuelle WSL.   === Commande d’installation de WSL === Ouvrez PowerShell ou l'invite de comman... »</title>
		<link rel="alternate" type="text/html" href="https://support.sofakom.fr/index.php?title=WSL_:_Console_linux_sur_Windows&amp;diff=2132&amp;oldid=prev"/>
		<updated>2025-08-06T08:44:34Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « &lt;a href=&quot;/index.php?title=Cat%C3%A9gorie:Linux&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Catégorie:Linux (page inexistante)&quot;&gt;Category:Linux&lt;/a&gt;&lt;a href=&quot;/index.php?title=Cat%C3%A9gorie:Windows&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Catégorie:Windows (page inexistante)&quot;&gt;Category:Windows&lt;/a&gt;  Source : https://learn.microsoft.com/fr-fr/windows/wsl/install  &amp;lt;canvas&amp;gt; == Installation de WSL ==  === Prérequis === Vous devez exécuter Windows 10 version 2004 ou ultérieure (build 19041 ou supérieure) ou Windows 11 pour utiliser les commandes ci-dessous. Pour les versions antérieures, consultez la page d’installation manuelle WSL.   === Commande d’installation de WSL === Ouvrez PowerShell ou l&amp;#039;invite de comman... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Linux]][[Category:Windows]]&lt;br /&gt;
&lt;br /&gt;
Source : https://learn.microsoft.com/fr-fr/windows/wsl/install&lt;br /&gt;
&lt;br /&gt;
&amp;lt;canvas&amp;gt;&lt;br /&gt;
== Installation de WSL ==&lt;br /&gt;
&lt;br /&gt;
=== Prérequis ===&lt;br /&gt;
Vous devez exécuter Windows 10 version 2004 ou ultérieure (build 19041 ou supérieure) ou Windows 11 pour utiliser les commandes ci-dessous. Pour les versions antérieures, consultez la page d’installation manuelle WSL.  &lt;br /&gt;
=== Commande d’installation de WSL ===&lt;br /&gt;
Ouvrez PowerShell ou l'invite de commande Windows en mode administrateur (clic-droit → « Exécuter en tant qu’administrateur »), puis exécutez :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;wsl --install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
puis redémarrez votre machine.&lt;br /&gt;
&lt;br /&gt;
Cette commande active les fonctionnalités nécessaires à l’exécution de WSL, télécharge et installe la distribution Linux par défaut (Ubuntu), et configure WSL 2 comme version par défaut.  &lt;br /&gt;
=== Modifier la distribution Linux par défaut ===&lt;br /&gt;
Par défaut, Ubuntu est installée. Pour changer de distribution :&lt;br /&gt;
&amp;lt;pre&amp;gt;wsl --install -d &amp;amp;lt;NomDistribution&amp;amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
Par exemple : `wsl --install -d Ubuntu-20.04`&lt;br /&gt;
&lt;br /&gt;
Pour afficher la liste des distributions disponibles :&lt;br /&gt;
&amp;lt;pre&amp;gt;wsl --list --online&amp;lt;/pre&amp;gt;  &lt;br /&gt;
ou  &lt;br /&gt;
&amp;lt;pre&amp;gt;wsl -l -o&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Installer d’autres distributions après l’installation initiale ===&lt;br /&gt;
Pour installer une distribution supplémentaire :&lt;br /&gt;
&amp;lt;pre&amp;gt;wsl --install -d &amp;amp;lt;NomDistribution&amp;amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ou depuis un terminal PowerShell/Bash sous Windows :&lt;br /&gt;
&amp;lt;pre&amp;gt;wsl.exe --install -d &amp;amp;lt;NomDistribution&amp;amp;gt;&amp;lt;/pre&amp;gt;  &lt;br /&gt;
et pour lister les distributions :&lt;br /&gt;
&amp;lt;pre&amp;gt;wsl.exe -l -o&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Première exécution ===&lt;br /&gt;
Lors du premier lancement d’une distribution installée, une console s’ouvre pour initialiser les fichiers (&amp;lt;i&amp;gt;decompression&amp;lt;/i&amp;gt;). Les lancements suivants prennent moins d’une seconde.  &lt;br /&gt;
=== Changer la distribution par défaut pour la commande « wsl » ===&lt;br /&gt;
Pour définir une distribution par défaut :&lt;br /&gt;
&amp;lt;pre&amp;gt;wsl -s &amp;amp;lt;NomDistribution&amp;amp;gt;&amp;lt;/pre&amp;gt;  &lt;br /&gt;
par exemple :&lt;br /&gt;
&amp;lt;pre&amp;gt;wsl -s Debian&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Vérifier la version de WSL ===&lt;br /&gt;
Pour lister les distributions installées et leur version WSL :&lt;br /&gt;
&amp;lt;pre&amp;gt;wsl -l -v&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Passer de WSL 1 à WSL 2 ===&lt;br /&gt;
Par défaut, une nouvelle distribution est installée en WSL 2 si `wsl --install` est disponible. Pour convertir une distribution existante :&lt;br /&gt;
&amp;lt;pre&amp;gt;wsl --set-version &amp;amp;lt;NomDistro&amp;amp;gt; 2&amp;lt;/pre&amp;gt;  &lt;br /&gt;
ex. :&lt;br /&gt;
&amp;lt;pre&amp;gt;wsl --set-version Ubuntu-20.04 2&amp;lt;/pre&amp;gt;  &lt;br /&gt;
&amp;lt;/canvas&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gdaubeze</name></author>
	</entry>
</feed>