{"id":164356,"date":"2024-02-05T13:29:13","date_gmt":"2024-02-05T18:29:13","guid":{"rendered":"https:\/\/pureinfotech.com\/?p=164356"},"modified":"2024-02-13T07:35:18","modified_gmt":"2024-02-13T12:35:18","slug":"windows-11-linux-sudo-command-prompt-powershell","status":"publish","type":"post","link":"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/","title":{"rendered":"Windows 11 brings Linux Sudo to Command Prompt and PowerShell"},"content":{"rendered":"<ul class=\"sum\">\n<li>Microsoft is adding an option to enable &#8220;sudo&#8221; from the &#8220;For developers&#8221; page in the Settings app of Windows 11.<\/li>\n<li>The feature will be available through the Windows Terminal when using Command Prompt, PowerShell, and other command consoles.<\/li>\n<li>The command works the same as the Linux sudo command, but you can decide how to run apps with the command.<\/li>\n<\/ul>\n<p><strong>UPDATED 2\/13\/2024:<\/strong> Windows 11 integrates the <strong>&#8220;sudo&#8221;<\/strong> command on PowerShell and Command Prompt, similar to the command already available in Linux, macOS, and other Unix-based operating systems. The feature is now available inside the <a href=\"https:\/\/pureinfotech.com\/windows-11-insider-preview-build-history-tracker\">preview builds of Windows 11<\/a> through the Canary Channel, and Microsoft is making it an <a href=\"https:\/\/github.com\/microsoft\/sudo\" target=\"_blank\" rel=\"noopener\">open-source project<\/a>.<\/p>\n<h2>What is the sudo command?<\/h2>\n<p>The <strong>sudo<\/strong> (superuser do) command allows users to run programs and tools with the security privileges of another user (the superuser or administrator, by default). It&#8217;s a ubiquitous feature in Linux, macOS, and other Unix-based operating systems for managing permissions and executing commands that require elevated privileges.<\/p>\n<figure id=\"attachment_164365\"  class=\"wp-caption alignnone\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-164365\" src=\"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/02\/linux-sudo-command.webp?resize=813%2C452&#038;quality=78&#038;strip=all&#038;ssl=1\" alt=\"Linux sudo command\" width=\"813\" height=\"452\" srcset=\"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/02\/linux-sudo-command.webp?w=813&amp;quality=78&amp;strip=all&amp;ssl=1 813w, https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/02\/linux-sudo-command.webp?resize=300%2C167&amp;quality=78&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/02\/linux-sudo-command.webp?resize=150%2C83&amp;quality=78&amp;strip=all&amp;ssl=1 150w\" sizes=\"auto, (max-width: 813px) 100vw, 813px\" \/><figcaption class=\"wp-caption-text\">Linux sudo command \/ Image: Mauro Huculak<\/figcaption><\/figure>\n<p>Introducing native sudo command support on <a href=\"https:\/\/pureinfotech.com\/tag\/windows-11\">Windows 11<\/a> further shows Microsoft&#8217;s ongoing efforts to bridge the gap between Windows and Unix-like operating systems.<\/p>\n<h2>How does sudo work on Windows 11?<\/h2>\n<p>The integration of the command is similar to the one on Linux.\u00a0Users can invoke the sudo command in the Windows Terminal to execute commands with administrative privileges without the need to switch user accounts, making it easier to manage system configurations and perform secure operations.<\/p>\n<figure id=\"attachment_164444\"  class=\"wp-caption alignnone\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-164444\" src=\"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/02\/windows-11-enable-sudo.webp?resize=827%2C432&#038;quality=78&#038;strip=all&#038;ssl=1\" alt=\"Enable sudo command\" width=\"827\" height=\"432\" srcset=\"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/02\/windows-11-enable-sudo.webp?w=950&amp;quality=78&amp;strip=all&amp;ssl=1 950w, https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/02\/windows-11-enable-sudo.webp?resize=300%2C157&amp;quality=78&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/02\/windows-11-enable-sudo.webp?resize=150%2C78&amp;quality=78&amp;strip=all&amp;ssl=1 150w\" sizes=\"auto, (max-width: 827px) 100vw, 827px\" \/><figcaption class=\"wp-caption-text\">Enable sudo command \/ Image: Mauro Huculak<\/figcaption><\/figure>\n<p>To enable the option, you have to open <strong>Settings<\/strong> &gt; <strong>System<\/strong> &gt; <strong>For developers<\/strong> and turn on the <strong>&#8220;Enable sudo&#8221;<\/strong> toggle switch. Then, you have to use the <strong>&#8220;Configure how sudo runs applications&#8221;<\/strong> settings to choose the experience. For example:<\/p>\n<ul>\n<li><strong>In a new window:<\/strong> When running the sudo command, the terminal will open a new window to run commands with administrative privileges.<\/li>\n<li><strong>With input disabled: <\/strong>It runs the command in an elevated mode in the current window, but the process won&#8217;t have any more inputs. If you have to run additional processes, this mode won&#8217;t work. (This is the most secure experience.)<\/li>\n<li><strong>Inline:<\/strong> When running the sudo command, the terminal will allow you to execute administrative tasks within the same window.<\/li>\n<\/ul>\n<p>It&#8217;s also possible to enable sudo with commands with the <code>sudo confirm --enable <strong>sudo-mode<\/strong><\/code> command. The sudo modes available include <code>normal<\/code>, <code>disableInput<\/code>, and <code>forceNewWindow<\/code>.<\/p>\n<p>Once the feature is enabled, <a href=\"https:\/\/pureinfotech.com\/enable-sudo-windows-11\/\">the sudo command should work on Command Prompt and PowerShell<\/a>.<\/p>\n<h2>Why is Microsoft bringing sudo to Windows 11?<\/h2>\n<p>The addition of the sudo command to Windows 11 is part of a broader strategy to enhance the operating system&#8217;s appeal to developers, network administrators, and power users who rely on Linux tools for their work. By integrating Unix-like commands directly into the operating system, the company aims to eliminate barriers to productivity further and promote a more versatile and robust environment for software development and system administration.<\/p>\n<p>&#8220;Sudo&#8221; is not the only non-Windows command available in the operating system. For example, in the stable version, you can already use the <a href=\"https:\/\/pureinfotech.com\/tar-curl-windows-10\/\">tar and curl<\/a> tools. The <strong>&#8220;tar&#8221;<\/strong> tool allows you to <a href=\"https:\/\/pureinfotech.com\/extract-tar-gz-files-windows-10\/\">extract files<\/a> and create archives, while the <strong>&#8220;curl&#8221;<\/strong> tool to transfer files between servers.<\/p>\n<h2>When will the Linux command be available on Windows 11?<\/h2>\n<p>The company is gearing up to release <a href=\"https:\/\/pureinfotech.com\/microsoft-delay-windows-12-2025\/\">Windows 11 24H2<\/a> later in the year, which is said to include a vast of new features and changes, and the sudo command could be one of the features planned for this release. On the other hand, Microsoft is also known to drop features as soon as they&#8217;re ready outside new version releases, so it could also be the case that the company may roll out the feature during a regular monthly update.<\/p>\n<p><strong>What are your thoughts on the new Linux command coming to Windows 11?<\/strong> Share your thoughts in the comments.<\/p>\n<p><strong>Update February 13, 2024:<\/strong> This guide has been updated to reflect that the feature is already available for testing in the latest preview of Windows 11.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can now run commands and tools using the Linux &#8220;sudo&#8221; command on Windows 11.<\/p>\n","protected":false},"author":2,"featured_media":164362,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"footnotes":""},"categories":[10,23],"tags":[2715],"class_list":["post-164356","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","category-windows","tag-windows-11"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Windows 11 brings Linux Sudo to Command Prompt and PowerShell - Pureinfotech<\/title>\n<meta name=\"description\" content=\"The Linux &quot;sudo&quot; is coming to Windows 11 as the Settings app includes a new option to enable and configure the feature. More details.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Windows 11 brings Linux Sudo to Command Prompt and PowerShell - Pureinfotech\" \/>\n<meta property=\"og:description\" content=\"The Linux &quot;sudo&quot; is coming to Windows 11 as the Settings app includes a new option to enable and configure the feature. More details.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/\" \/>\n<meta property=\"og:site_name\" content=\"Pureinfotech \u2022 Windows 10 &amp; Windows 11 help for humans\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/pureinfotech\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-05T18:29:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-13T12:35:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pureinfotech.com\/wp-content\/uploads\/2024\/02\/windows-11-enable-sudo-fordevelopers-hero.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1644\" \/>\n\t<meta property=\"og:image:height\" content=\"1102\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Mauro Huculak\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Pureinfotech\" \/>\n<meta name=\"twitter:site\" content=\"@Pureinfotech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mauro Huculak\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/\"},\"author\":{\"name\":\"Mauro Huculak\",\"@id\":\"https:\/\/pureinfotech.com\/#\/schema\/person\/bf4921a81eb4380865af70691a93af43\"},\"headline\":\"Windows 11 brings Linux Sudo to Command Prompt and PowerShell\",\"datePublished\":\"2024-02-05T18:29:13+00:00\",\"dateModified\":\"2024-02-13T12:35:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/\"},\"wordCount\":677,\"publisher\":{\"@id\":\"https:\/\/pureinfotech.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/02\/windows-11-enable-sudo-fordevelopers-hero.webp?fit=1644%2C1102&quality=78&strip=all&ssl=1\",\"keywords\":[\"Windows 11\"],\"articleSection\":[\"News\",\"Windows\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/\",\"url\":\"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/\",\"name\":\"Windows 11 brings Linux Sudo to Command Prompt and PowerShell - Pureinfotech\",\"isPartOf\":{\"@id\":\"https:\/\/pureinfotech.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/02\/windows-11-enable-sudo-fordevelopers-hero.webp?fit=1644%2C1102&quality=78&strip=all&ssl=1\",\"datePublished\":\"2024-02-05T18:29:13+00:00\",\"dateModified\":\"2024-02-13T12:35:18+00:00\",\"description\":\"The Linux \\\"sudo\\\" is coming to Windows 11 as the Settings app includes a new option to enable and configure the feature. More details.\",\"breadcrumb\":{\"@id\":\"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/02\/windows-11-enable-sudo-fordevelopers-hero.webp?fit=1644%2C1102&quality=78&strip=all&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/02\/windows-11-enable-sudo-fordevelopers-hero.webp?fit=1644%2C1102&quality=78&strip=all&ssl=1\",\"width\":1644,\"height\":1102,\"caption\":\"Windows 11 Enable sudo option \/ Image: @thebookisclosed\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/pureinfotech.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Windows 11 brings Linux Sudo to Command Prompt and PowerShell\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/pureinfotech.com\/#website\",\"url\":\"https:\/\/pureinfotech.com\/\",\"name\":\"Pureinfotech \u2022 Windows 10 &amp; Windows 11 help for humans\",\"description\":\"Pureinfotech is the best site to get Windows help \u2013 featuring friendly how-to guides on Windows 10, Windows 11, Xbox, and other things tech, news, deals, reviews, and more.\",\"publisher\":{\"@id\":\"https:\/\/pureinfotech.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/pureinfotech.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/pureinfotech.com\/#organization\",\"name\":\"Pureinfotech\",\"url\":\"https:\/\/pureinfotech.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/pureinfotech.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2019\/05\/pure-logo-v45.png?fit=192%2C192&quality=78&strip=all&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2019\/05\/pure-logo-v45.png?fit=192%2C192&quality=78&strip=all&ssl=1\",\"width\":192,\"height\":192,\"caption\":\"Pureinfotech\"},\"image\":{\"@id\":\"https:\/\/pureinfotech.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/facebook.com\/pureinfotech\",\"https:\/\/x.com\/Pureinfotech\",\"https:\/\/www.youtube.com\/user\/Pureinfotech\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/pureinfotech.com\/#\/schema\/person\/bf4921a81eb4380865af70691a93af43\",\"name\":\"Mauro Huculak\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/1cbac450402490f703560c52c3114f3e5ab02a741684eb73917885ae4a117a16?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1cbac450402490f703560c52c3114f3e5ab02a741684eb73917885ae4a117a16?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1cbac450402490f703560c52c3114f3e5ab02a741684eb73917885ae4a117a16?s=96&d=mm&r=g\",\"caption\":\"Mauro Huculak\"},\"description\":\"Mauro Huculak is a Windows How-To Expert and founder of Pureinfotech (est. 2010). With over 21 years as a technology writer and IT Specialist, Mauro specializes in Windows, software, and cross-platform systems such as Linux, Android, and macOS. Certifications he holds include Microsoft Certified Solutions Associate (MCSA), Cisco Certified Network Professional (CCNP), VMware Certified Professional (VCP), and CompTIA A+ and Network+. Mauro is a recognized Microsoft MVP and has also been a long-time contributor to Windows Central. You can follow him on YouTube, Threads, BlueSky, X (Twitter), LinkedIn and About.me. Email him at Contact@Pureinfotech.com.\",\"sameAs\":[\"https:\/\/pureinfotech.com\",\"https:\/\/x.com\/@Pureinfotech\"],\"url\":\"https:\/\/pureinfotech.com\/mauro-huculak\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Windows 11 brings Linux Sudo to Command Prompt and PowerShell - Pureinfotech","description":"The Linux \"sudo\" is coming to Windows 11 as the Settings app includes a new option to enable and configure the feature. More details.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/","og_locale":"en_US","og_type":"article","og_title":"Windows 11 brings Linux Sudo to Command Prompt and PowerShell - Pureinfotech","og_description":"The Linux \"sudo\" is coming to Windows 11 as the Settings app includes a new option to enable and configure the feature. More details.","og_url":"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/","og_site_name":"Pureinfotech \u2022 Windows 10 &amp; Windows 11 help for humans","article_publisher":"https:\/\/facebook.com\/pureinfotech","article_published_time":"2024-02-05T18:29:13+00:00","article_modified_time":"2024-02-13T12:35:18+00:00","og_image":[{"width":1644,"height":1102,"url":"https:\/\/pureinfotech.com\/wp-content\/uploads\/2024\/02\/windows-11-enable-sudo-fordevelopers-hero.webp","type":"image\/webp"}],"author":"Mauro Huculak","twitter_card":"summary_large_image","twitter_creator":"@Pureinfotech","twitter_site":"@Pureinfotech","twitter_misc":{"Written by":"Mauro Huculak","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/#article","isPartOf":{"@id":"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/"},"author":{"name":"Mauro Huculak","@id":"https:\/\/pureinfotech.com\/#\/schema\/person\/bf4921a81eb4380865af70691a93af43"},"headline":"Windows 11 brings Linux Sudo to Command Prompt and PowerShell","datePublished":"2024-02-05T18:29:13+00:00","dateModified":"2024-02-13T12:35:18+00:00","mainEntityOfPage":{"@id":"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/"},"wordCount":677,"publisher":{"@id":"https:\/\/pureinfotech.com\/#organization"},"image":{"@id":"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/02\/windows-11-enable-sudo-fordevelopers-hero.webp?fit=1644%2C1102&quality=78&strip=all&ssl=1","keywords":["Windows 11"],"articleSection":["News","Windows"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/","url":"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/","name":"Windows 11 brings Linux Sudo to Command Prompt and PowerShell - Pureinfotech","isPartOf":{"@id":"https:\/\/pureinfotech.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/#primaryimage"},"image":{"@id":"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/02\/windows-11-enable-sudo-fordevelopers-hero.webp?fit=1644%2C1102&quality=78&strip=all&ssl=1","datePublished":"2024-02-05T18:29:13+00:00","dateModified":"2024-02-13T12:35:18+00:00","description":"The Linux \"sudo\" is coming to Windows 11 as the Settings app includes a new option to enable and configure the feature. More details.","breadcrumb":{"@id":"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/#primaryimage","url":"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/02\/windows-11-enable-sudo-fordevelopers-hero.webp?fit=1644%2C1102&quality=78&strip=all&ssl=1","contentUrl":"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/02\/windows-11-enable-sudo-fordevelopers-hero.webp?fit=1644%2C1102&quality=78&strip=all&ssl=1","width":1644,"height":1102,"caption":"Windows 11 Enable sudo option \/ Image: @thebookisclosed"},{"@type":"BreadcrumbList","@id":"https:\/\/pureinfotech.com\/windows-11-linux-sudo-command-prompt-powershell\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pureinfotech.com\/"},{"@type":"ListItem","position":2,"name":"Windows 11 brings Linux Sudo to Command Prompt and PowerShell"}]},{"@type":"WebSite","@id":"https:\/\/pureinfotech.com\/#website","url":"https:\/\/pureinfotech.com\/","name":"Pureinfotech \u2022 Windows 10 &amp; Windows 11 help for humans","description":"Pureinfotech is the best site to get Windows help \u2013 featuring friendly how-to guides on Windows 10, Windows 11, Xbox, and other things tech, news, deals, reviews, and more.","publisher":{"@id":"https:\/\/pureinfotech.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pureinfotech.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/pureinfotech.com\/#organization","name":"Pureinfotech","url":"https:\/\/pureinfotech.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pureinfotech.com\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2019\/05\/pure-logo-v45.png?fit=192%2C192&quality=78&strip=all&ssl=1","contentUrl":"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2019\/05\/pure-logo-v45.png?fit=192%2C192&quality=78&strip=all&ssl=1","width":192,"height":192,"caption":"Pureinfotech"},"image":{"@id":"https:\/\/pureinfotech.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/facebook.com\/pureinfotech","https:\/\/x.com\/Pureinfotech","https:\/\/www.youtube.com\/user\/Pureinfotech"]},{"@type":"Person","@id":"https:\/\/pureinfotech.com\/#\/schema\/person\/bf4921a81eb4380865af70691a93af43","name":"Mauro Huculak","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1cbac450402490f703560c52c3114f3e5ab02a741684eb73917885ae4a117a16?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1cbac450402490f703560c52c3114f3e5ab02a741684eb73917885ae4a117a16?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1cbac450402490f703560c52c3114f3e5ab02a741684eb73917885ae4a117a16?s=96&d=mm&r=g","caption":"Mauro Huculak"},"description":"Mauro Huculak is a Windows How-To Expert and founder of Pureinfotech (est. 2010). With over 21 years as a technology writer and IT Specialist, Mauro specializes in Windows, software, and cross-platform systems such as Linux, Android, and macOS. Certifications he holds include Microsoft Certified Solutions Associate (MCSA), Cisco Certified Network Professional (CCNP), VMware Certified Professional (VCP), and CompTIA A+ and Network+. Mauro is a recognized Microsoft MVP and has also been a long-time contributor to Windows Central. You can follow him on YouTube, Threads, BlueSky, X (Twitter), LinkedIn and About.me. Email him at Contact@Pureinfotech.com.","sameAs":["https:\/\/pureinfotech.com","https:\/\/x.com\/@Pureinfotech"],"url":"https:\/\/pureinfotech.com\/mauro-huculak"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/02\/windows-11-enable-sudo-fordevelopers-hero.webp?fit=1644%2C1102&quality=78&strip=all&ssl=1","jetpack-related-posts":[{"id":164484,"url":"https:\/\/pureinfotech.com\/enable-sudo-windows-11\/","url_meta":{"origin":164356,"position":0},"title":"How to enable Sudo on Windows 11","author":"Mauro Huculak","date":"October 27, 2025","format":false,"excerpt":"You can now run elevated commands on Windows 11 like on Linux or macOS with \"sudo,\" and here's how to enable the feature.","rel":"","context":"","block_context":{"text":"Windows","link":"https:\/\/pureinfotech.com\/category\/windows\/"},"img":{"alt_text":"Windows 11 sudo command \/ Image: Mauro Huculak","src":"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2025\/01\/windows-11-enable-sudo-hero.webp?fit=1200%2C750&quality=78&strip=all&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2025\/01\/windows-11-enable-sudo-hero.webp?fit=1200%2C750&quality=78&strip=all&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2025\/01\/windows-11-enable-sudo-hero.webp?fit=1200%2C750&quality=78&strip=all&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2025\/01\/windows-11-enable-sudo-hero.webp?fit=1200%2C750&quality=78&strip=all&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2025\/01\/windows-11-enable-sudo-hero.webp?fit=1200%2C750&quality=78&strip=all&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":170549,"url":"https:\/\/pureinfotech.com\/gsudo-install-use-linux-sudo-windows\/","url_meta":{"origin":164356,"position":1},"title":"What is gsudo, and how to get started? The better Linux Sudo for Windows 11 and 10 explained.","author":"Mauro Huculak","date":"July 18, 2024","format":false,"excerpt":"You can bring the Linux Sudo command to older version of Windows 11 and 10 with gsudo, and here's how.","rel":"","context":"","block_context":{"text":"Features","link":"https:\/\/pureinfotech.com\/category\/features\/"},"img":{"alt_text":"Gsudo for Windows","src":"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/07\/windows-gsudo-sudo-tool-hero-mauro-huculak.webp?fit=1200%2C803&quality=78&strip=all&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/07\/windows-gsudo-sudo-tool-hero-mauro-huculak.webp?fit=1200%2C803&quality=78&strip=all&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/07\/windows-gsudo-sudo-tool-hero-mauro-huculak.webp?fit=1200%2C803&quality=78&strip=all&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/07\/windows-gsudo-sudo-tool-hero-mauro-huculak.webp?fit=1200%2C803&quality=78&strip=all&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/07\/windows-gsudo-sudo-tool-hero-mauro-huculak.webp?fit=1200%2C803&quality=78&strip=all&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":123865,"url":"https:\/\/pureinfotech.com\/install-powershell-7-linux\/","url_meta":{"origin":164356,"position":2},"title":"How to install PowerShell 7 on Linux","author":"Mauro Huculak","date":"June 8, 2020","format":false,"excerpt":"Microsoft PowerShell is cross-platform scripting tool, and these are the steps to install it on Linux.","rel":"","context":"","block_context":{"text":"Apps","link":"https:\/\/pureinfotech.com\/category\/apps\/"},"img":{"alt_text":"PowerShell 7 on Linux","src":"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2020\/06\/linux-powershell-7_.jpg?fit=1200%2C750&quality=78&strip=all&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2020\/06\/linux-powershell-7_.jpg?fit=1200%2C750&quality=78&strip=all&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2020\/06\/linux-powershell-7_.jpg?fit=1200%2C750&quality=78&strip=all&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2020\/06\/linux-powershell-7_.jpg?fit=1200%2C750&quality=78&strip=all&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2020\/06\/linux-powershell-7_.jpg?fit=1200%2C750&quality=78&strip=all&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":171521,"url":"https:\/\/pureinfotech.com\/run-app-administrator-windows\/","url_meta":{"origin":164356,"position":3},"title":"How to run any app as administrator on Windows 11, 10","author":"Mauro Huculak","date":"August 22, 2024","format":false,"excerpt":"If you absolutely have to run an app as admin, here are all the methods you can try on Windows.","rel":"","context":"","block_context":{"text":"Features","link":"https:\/\/pureinfotech.com\/category\/features\/"},"img":{"alt_text":"Windows 11 Run as administrator","src":"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/08\/windows-11-run-app-admin-hero-mauro-huculak.webp?fit=1200%2C802&quality=78&strip=all&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/08\/windows-11-run-app-admin-hero-mauro-huculak.webp?fit=1200%2C802&quality=78&strip=all&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/08\/windows-11-run-app-admin-hero-mauro-huculak.webp?fit=1200%2C802&quality=78&strip=all&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/08\/windows-11-run-app-admin-hero-mauro-huculak.webp?fit=1200%2C802&quality=78&strip=all&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/08\/windows-11-run-app-admin-hero-mauro-huculak.webp?fit=1200%2C802&quality=78&strip=all&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":164442,"url":"https:\/\/pureinfotech.com\/windows-11-build-26052\/","url_meta":{"origin":164356,"position":4},"title":"Windows 11 build 26052 adds Sudo command, Copilot context menu, Color Management in Settings","author":"Mauro Huculak","date":"February 8, 2024","format":false,"excerpt":"Microsoft rolls out previews of Windows 11 with a bunch new features and improvements.","rel":"","context":"","block_context":{"text":"Features","link":"https:\/\/pureinfotech.com\/category\/features\/"},"img":{"alt_text":"Windows 11 build 26052","src":"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/02\/windows-11-26052-color-management-hero-mauro-huculak.webp?fit=1200%2C796&quality=78&strip=all&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/02\/windows-11-26052-color-management-hero-mauro-huculak.webp?fit=1200%2C796&quality=78&strip=all&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/02\/windows-11-26052-color-management-hero-mauro-huculak.webp?fit=1200%2C796&quality=78&strip=all&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/02\/windows-11-26052-color-management-hero-mauro-huculak.webp?fit=1200%2C796&quality=78&strip=all&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2024\/02\/windows-11-26052-color-management-hero-mauro-huculak.webp?fit=1200%2C796&quality=78&strip=all&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":127381,"url":"https:\/\/pureinfotech.com\/install-microsoft-edge-linux\/","url_meta":{"origin":164356,"position":5},"title":"How to install Microsoft Edge on Linux","author":"Mauro Huculak","date":"September 12, 2024","format":false,"excerpt":"You can install the Microsoft Edge browser on Linux distros using a graphical interface and commands, and here's how.","rel":"","context":"","block_context":{"text":"Apps","link":"https:\/\/pureinfotech.com\/category\/apps\/"},"img":{"alt_text":"Microsoft Edge for Ubuntu Linux install","src":"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2023\/02\/linux-install-microsoft-edge-hero-mauro-huculak.webp?fit=1200%2C750&quality=78&strip=all&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2023\/02\/linux-install-microsoft-edge-hero-mauro-huculak.webp?fit=1200%2C750&quality=78&strip=all&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2023\/02\/linux-install-microsoft-edge-hero-mauro-huculak.webp?fit=1200%2C750&quality=78&strip=all&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2023\/02\/linux-install-microsoft-edge-hero-mauro-huculak.webp?fit=1200%2C750&quality=78&strip=all&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/pureinfotech.com\/wp-content\/uploads\/2023\/02\/linux-install-microsoft-edge-hero-mauro-huculak.webp?fit=1200%2C750&quality=78&strip=all&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/pureinfotech.com\/wp-json\/wp\/v2\/posts\/164356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pureinfotech.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pureinfotech.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pureinfotech.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/pureinfotech.com\/wp-json\/wp\/v2\/comments?post=164356"}],"version-history":[{"count":0,"href":"https:\/\/pureinfotech.com\/wp-json\/wp\/v2\/posts\/164356\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pureinfotech.com\/wp-json\/wp\/v2\/media\/164362"}],"wp:attachment":[{"href":"https:\/\/pureinfotech.com\/wp-json\/wp\/v2\/media?parent=164356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pureinfotech.com\/wp-json\/wp\/v2\/categories?post=164356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pureinfotech.com\/wp-json\/wp\/v2\/tags?post=164356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}