diff --git a/centos-stream.md b/centos-stream.md
index d6ffebb..21afe30 100644
--- a/centos-stream.md
+++ b/centos-stream.md
@@ -17,7 +17,7 @@ toc: false
 ## Converting from CentOS Linux to CentOS Stream
 
 ```console
-[root@centos ~]# dnf swap centos-{linux,stream}-repos
+[root@centos ~]# dnf swap centos-linux-repos centos-stream-repos
 
 [root@centos ~]# dnf distro-sync
 ```
diff --git a/distro-faq.md b/distro-faq.md
index 93cc72b..4358e8b 100644
--- a/distro-faq.md
+++ b/distro-faq.md
@@ -62,7 +62,7 @@ Specifically, since the RHEL release cadence is every 3 years, and the full supp
 and are also below for your convenience.
 
 <pre>
-[root@centos ~]# dnf swap centos-{linux,stream}-repos
+[root@centos ~]# dnf swap centos-linux-repos centos-stream-repos
 
 [root@centos ~]# dnf distro-sync
 </pre>