<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" version="2.0">
    <channel>
        
        <title>
            <![CDATA[ Windows - freeCodeCamp.org ]]>
        </title>
        <description>
            <![CDATA[ freeCodeCamp 是一个免费学习编程的开发者社区，涵盖 Python、HTML、CSS、React、Vue、BootStrap、JSON 教程等，还有活跃的技术论坛和丰富的社区活动，在你学习编程和找工作时为你提供建议和帮助。 ]]>
        </description>
        <link>https://www.freecodecamp.org/chinese/news/</link>
        <image>
            <url>https://cdn.freecodecamp.org/universal/favicons/favicon.png</url>
            <title>
                <![CDATA[ Windows - freeCodeCamp.org ]]>
            </title>
            <link>https://www.freecodecamp.org/chinese/news/</link>
        </image>
        <generator>Eleventy</generator>
        <lastBuildDate>Tue, 09 Jun 2026 04:20:12 +0000</lastBuildDate>
        <atom:link href="https://www.freecodecamp.org/chinese/news/tag/windows/rss.xml" rel="self" type="application/rss+xml" />
        <ttl>60</ttl>
        
            <item>
                <title>
                    <![CDATA[ 如何在 Windows 上安装 C 和 C++ 编译器 ]]>
                </title>
                <description>
                    <![CDATA[ 如果你想在 Windows 操作系统上运行 C 或 C++ 程序，那么你需要有合适的编译器。 MinGW 编译器是一个知名且广泛使用的软件，用于安装 C 和 C++ 编程语言的 GCC 和 G++ 编译器。 但是许多开发人员在安装编译器时遇到了困难，所以我将在本文中向大家展示所有步骤，并附上截图来帮助你完成安装。 我将使用 Windows 11，相同的过程适用于所有其他 Windows 操作系统。但是如果你使用的是 Windows XP，你需要更改一些步骤。 如果你也想观看我关于此主题的视频，请点击这里： 安装 MSYS2 首先，我们需要从 MSYS2 下载一个可执行文件。访问 MSYS2 的官方网站：https://www.msys2.org/。截至今天，网站看起来如下。 向下滚动，直到找到可执行文件的下载按钮。 简单地点击安装按钮，并将安装文件保存在你希望的任何位置。 完成可执行文件的下载。根据你的网络速度，下载时间不应该太长。 下载文件后，我们将获得这个可执行文件。 双击可执行文件，然后点击 Next。 保持名称不变，然后点击 Nex ]]>
                </description>
                <link>https://www.freecodecamp.org/chinese/news/how-to-install-c-and-cpp-compiler-on-windows/</link>
                <guid isPermaLink="false">66aca85179db950405c0523d</guid>
                
                    <category>
                        <![CDATA[ Windows ]]>
                    </category>
                
                    <category>
                        <![CDATA[ C 语言 ]]>
                    </category>
                
                    <category>
                        <![CDATA[ C++ ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ Miya Liu ]]>
                </dc:creator>
                <pubDate>Tue, 30 Jul 2024 07:19:00 +0000</pubDate>
                <media:content url="https://chinese.freecodecamp.org/news/content/images/2024/08/banner_freeCodeCamp.png" medium="image" />
                <content:encoded>
                    <![CDATA[ <p data-test-label="translation-intro">
        <strong>原文：</strong> <a href="https://www.freecodecamp.org/news/how-to-install-c-and-cpp-compiler-on-windows/" target="_blank" rel="noopener noreferrer" data-test-label="original-article-link">How to Install C and C++ Compilers on Windows</a>
      </p><!--kg-card-begin: markdown--><p>如果你想在 Windows 操作系统上运行 C 或 C++ 程序，那么你需要有合适的编译器。</p>
<p>MinGW 编译器是一个知名且广泛使用的软件，用于安装 C 和 C++ 编程语言的 GCC 和 G++ 编译器。</p>
<p>但是许多开发人员在安装编译器时遇到了困难，所以我将在本文中向大家展示所有步骤，并附上截图来帮助你完成安装。</p>
<p>我将使用 Windows 11，相同的过程适用于所有其他 Windows 操作系统。但是如果你使用的是 Windows XP，你需要更改一些步骤。</p>
<p>如果你也想观看我关于此主题的视频，请点击这里：</p>
<figure class="kg-card kg-embed-card" data-test-label="fitted">
        <div class="fluid-width-video-container">
          <div style="padding-top: 56.17977528089888%;" class="fluid-width-video-wrapper">
            <iframe width="356" height="200" src="https://www.youtube.com/embed/c7FjV8Gwk_M?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="" title="How to Install C and C++ Compilers on Windows 10 / 11" name="fitvid0"></iframe>
          </div>
        </div>
      </figure>
<h2 id="msys2">安装 MSYS2</h2>
<p>首先，我们需要从 MSYS2 下载一个可执行文件。访问 MSYS2 的官方网站：<a href="https://www.msys2.org/">https://www.msys2.org/</a>。截至今天，网站看起来如下。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--8-.png" alt="Screenshot--8-" width="600" height="400" loading="lazy"></p>
<p>向下滚动，直到找到可执行文件的下载按钮。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--9-.png" alt="Screenshot--9-" width="600" height="400" loading="lazy"></p>
<p>简单地点击安装按钮，并将安装文件保存在你希望的任何位置。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--10--1.png" alt="Screenshot--10--1" width="600" height="400" loading="lazy"></p>
<p>完成可执行文件的下载。根据你的网络速度，下载时间不应该太长。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--11-.png" alt="Screenshot--11-" width="600" height="400" loading="lazy"></p>
<p>下载文件后，我们将获得这个可执行文件。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--12-.png" alt="Screenshot--12-" width="600" height="400" loading="lazy"></p>
<p>双击可执行文件，然后点击 <code>Next</code>。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--13-.png" alt="Screenshot--13-" width="600" height="400" loading="lazy"></p>
<p>保持名称不变，然后点击 <code>Next</code>。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--14--1.png" alt="Screenshot--14--1" width="600" height="400" loading="lazy"></p>
<p>保持所有内容不变，并点击 <code>Next</code>。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--15-.png" alt="Screenshot--15-" width="600" height="400" loading="lazy"></p>
<p>给它一些时间来完成安装过程。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--16-.png" alt="Screenshot--16-" width="600" height="400" loading="lazy"></p>
<p>如果保持选中，则一旦你点击 <code>Finish</code>，MSYS2 终端将会打开。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--17-.png" alt="Screenshot--17-" width="600" height="400" loading="lazy"></p>
<p>我更喜欢这样做，但如果你想稍后再执行剩余任务，则需要从开始菜单自行打开终端。</p>
<p>在这种情况下，你需要点击开始按钮 &gt; 搜索 <code>MSYS2</code>，然后像下面的图片一样点击终端：</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--26-.png" alt="Screenshot--26-" width="600" height="400" loading="lazy"></p>
<p>让我假设我们已经成功打开了 <strong>MSYS2 MSYS</strong> 终端。</p>
<p>应用命令 <code>pacman -Syu</code> 来更新软件包数据库和基础软件包。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--19-.png" alt="Screenshot--19-" width="600" height="400" loading="lazy"></p>
<p>如果你看到这种安装提示，请输入 <code>Y</code> 并按回车键。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--20-.png" alt="Screenshot--20-" width="600" height="400" loading="lazy"></p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--21-.png" alt="Screenshot--21-" width="600" height="400" loading="lazy"></p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--22-.png" alt="Screenshot--22-" width="600" height="400" loading="lazy"></p>
<p>输入 <code>Y</code> 并按回车键。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--23-.png" alt="Screenshot--23-" width="600" height="400" loading="lazy"></p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--24-.png" alt="Screenshot--24-" width="600" height="400" loading="lazy"></p>
<p>终端将关闭。我们必须手动打开终端并更新其余的软件包。</p>
<p>点击开始按钮。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--25-.png" alt="Screenshot--25-" width="600" height="400" loading="lazy"></p>
<p>搜索名为 <strong>MSYS2 64bit</strong> 的文件夹。点击该文件夹展开并获得终端。通过点击 <strong>MSYS2 MSYS</strong> 打开终端。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--26--1.png" alt="Screenshot--26--1" width="600" height="400" loading="lazy"></p>
<p>通过应用命令 <code>pacman -Su</code> 来更新其余的软件包。如果终端告诉你需要执行命令 <code>pacman -Sy</code>，则可能需要执行此命令。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--27-.png" alt="Screenshot--27-" width="600" height="400" loading="lazy"></p>
<p>如果收到任何安装提示，则需要输入 <code>Y</code> 或 <code>y</code> 并按回车键。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--29-.png" alt="Screenshot--29-" width="600" height="400" loading="lazy"></p>
<p>稍等一会儿完成安装。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--30-.png" alt="Screenshot--30-" width="600" height="400" loading="lazy"></p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--31-.png" alt="Screenshot--31-" width="600" height="400" loading="lazy"></p>
<p>安装完成后关闭窗口。</p>
<h2 id="gccg">安装 GCC 和 G++ 编译器</h2>
<p>点击开始按钮，找到 <strong>MSYS2 64bit</strong> 文件夹，点击该文件夹展开它。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--32-.png" alt="Screenshot--32-" width="600" height="400" loading="lazy"></p>
<p>如果你和我一样使用的是 <strong>64 位</strong>操作系统，那么我们需要使用 <strong>MSYS2 MinGW x64</strong> 终端。点击终端以打开它。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--33-.png" alt="Screenshot--33-" width="600" height="400" loading="lazy"></p>
<p>⚠️但是，如果你使用的是 <strong>32 位</strong>操作系统，那么你需要使用 <strong>MSYS2 MinGW x86</strong> 终端。然后，你需要打开该终端。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--34-.png" alt="Screenshot--34-" width="600" height="400" loading="lazy"></p>
<p>因为我使用的是 <strong>64 位</strong>操作系统，所以我打开了 64 位终端。使用命令 <code>pacman -S mingw-w64-x86_64-gcc</code> 以安装编译器。</p>
<p>⚠️如果你使用的是 <strong>32 位</strong>操作系统，那么你需要在你的 32 位终端中使用命令 <code>pacman -S mingw-w64-i686-gcc</code>。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--35-.png" alt="Screenshot--35-" width="600" height="400" loading="lazy"></p>
<p>稍等一会儿。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--36-.png" alt="Screenshot--36-" width="600" height="400" loading="lazy"></p>
<p>如果收到安装提示，输入 <code>Y</code> 或 <code>y</code> 并按下回车键。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--37-.png" alt="Screenshot--37-" width="600" height="400" loading="lazy"></p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--38-.png" alt="Screenshot--38-" width="600" height="400" loading="lazy"></p>
<p>等待安装过程完成。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--39-.png" alt="Screenshot--39-" width="600" height="400" loading="lazy"></p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--39--1.png" alt="Screenshot--39--1" width="600" height="400" loading="lazy"></p>
<p>编译器安装完成。</p>
<h2 id="">如何安装调试器</h2>
<p>如果你和我一样使用的是 <strong>64 位</strong>操作系统，那么你需要使用命令 <code>pacman -S mingw-w64-x86_64-gdb</code>。</p>
<p>⚠️如果你使用的是 <strong>32 位</strong>操作系统，那么你需要在你的 32 位终端中使用命令 <code>pacman -S mingw-w64-i686-gdb</code>。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--41-.png" alt="Screenshot--41-" width="600" height="400" loading="lazy"></p>
<p>如果收到安装提示，输入 <code>Y</code> 或 <code>y</code> 并按下回车键。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--42-.png" alt="Screenshot--42-" width="600" height="400" loading="lazy"></p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--38--1.png" alt="Screenshot--38--1" width="600" height="400" loading="lazy"></p>
<p>等待安装过程完成。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--44-.png" alt="Screenshot--44-" width="600" height="400" loading="lazy"></p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--45-.png" alt="Screenshot--45-" width="600" height="400" loading="lazy"></p>
<p>你可以关闭终端。</p>
<h2 id="">如何将目录添加到环境变量的路径</h2>
<p>打开文件资源管理器。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--46-.png" alt="Screenshot--46-" width="600" height="400" loading="lazy"></p>
<p>假设你和我一样将 MSYS 安装到默认目录。如果你使用了自定义目录，则需要前往你安装的目录。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--47-.png" alt="Screenshot--47-" width="600" height="400" loading="lazy"></p>
<p>如果你和我一样使用的是 64 位操作系统，则前往 <strong>mingw64</strong> 文件夹。</p>
<p>⚠️如果你使用的是 32 位操作系统，请前往 <strong>mingw32</strong> 文件夹。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--48-.png" alt="Screenshot--48-" width="600" height="400" loading="lazy"></p>
<p>现在我们需要转到二进制文件夹，前往 <strong>bin</strong> 文件夹。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--49-.png" alt="Screenshot--49-" width="600" height="400" loading="lazy"></p>
<p>⚠️如果你使用的是 32 位操作系统，则需要进入 <strong>mingw32</strong> 文件夹 &gt; <strong>bin</strong> 文件夹。</p>
<p>复制该目录。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--51-.png" alt="Screenshot--51-" width="600" height="400" loading="lazy"></p>
<p>⚠️如果你使用的是 32 位操作系统，并且也将 MSYS2 安装到了默认目录，那么你的目录应该如下所示：</p>
<pre><code>C:\msys64\mingw32\bin
</code></pre>
<p>打开<strong>高级系统设置</strong>。你可以通过多种方式做到这一点，一种简单的方式是点击开始按钮并搜索它，如下图所示。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--52-.png" alt="Screenshot--52-" width="600" height="400" loading="lazy"></p>
<p>从高级选项卡中点击<strong>环境变量</strong>。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--54-.png" alt="Screenshot--54-" width="600" height="400" loading="lazy"></p>
<p>点击 <strong>Path</strong> 并选择它。然后点击<strong>编辑</strong>。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--57-.png" alt="Screenshot--57-" width="600" height="400" loading="lazy"></p>
<p>将出现如下窗口：</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--58-.png" alt="Screenshot--58-" width="600" height="400" loading="lazy"></p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--59-.png" alt="Screenshot--59-" width="600" height="400" loading="lazy"></p>
<p>会出现一个空白框。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--60-.png" alt="Screenshot--60-" width="600" height="400" loading="lazy"></p>
<p>在这里粘贴目录。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--61-.png" alt="Screenshot--61-" width="600" height="400" loading="lazy"></p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--62-.png" alt="Screenshot--62-" width="600" height="400" loading="lazy"></p>
<p>点击 <strong>OK</strong>。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--63-.png" alt="Screenshot--63-" width="600" height="400" loading="lazy"></p>
<p>点击 <strong>OK</strong>。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--65-.png" alt="Screenshot--65-" width="600" height="400" loading="lazy"></p>
<p>点击 <strong>OK</strong>。</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--66-.png" alt="Screenshot--66-" width="600" height="400" loading="lazy"></p>
<p>如果你想获取所有步骤的视频，你也可以观看<a href="https://www.youtube.com/watch?v=0HD0pqVtsmw">这个视频</a>。</p>
<h2 id="">检查安装</h2>
<p>现在是时候检查我们是否成功安装了上述所有内容。</p>
<p>打开终端 / PowerShell / CMD，并逐一应用命令：</p>
<p>检查 <strong>GCC</strong> 版本：</p>
<pre><code class="language-powershell">gcc --version
</code></pre>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--68-.png" alt="Screenshot--68-" width="600" height="400" loading="lazy"></p>
<p>检查 <strong>G++</strong> 版本：</p>
<pre><code class="language-powershell">g++ --version
</code></pre>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--69-.png" alt="Screenshot--69-" width="600" height="400" loading="lazy"></p>
<p>检查 <strong>GDB</strong> 版本：</p>
<pre><code class="language-powershell">gdb --version
</code></pre>
<p><img src="https://www.freecodecamp.org/news/content/images/2022/02/Screenshot--70-.png" alt="Screenshot--70-" width="600" height="400" loading="lazy"></p>
<h2 id="">结论</h2>
<p>希望本文能帮助你在 Windows 操作系统上为 C 和 C++ 程序安装编译器。</p>
<p>感谢你阅读整篇文章。如果它对你有帮助，你还可以查看我在 <a href="https://www.freecodecamp.org/news/author/fahimbinamin/">freeCodeCamp</a> 上的其他文章。</p>
<p>如果你想与我联系，可以通过 <a href="https://twitter.com/Fahim_FBA">Twitter</a>、<a href="https://www.linkedin.com/in/fahimfba/">LinkedIn</a> 和 <a href="https://github.com/FahimFBA">GitHub</a> 联系我。</p>
<p>如果你希望定期学习各种编程语言的实用例子，可以<a href="https://www.youtube.com/@FahimAmin?sub_confirmation=1">订阅我的 YouTube 频道</a>（Code With FahimFBA）。</p>
<p>如果你想查看我的进展，可以访问我的 <a href="https://www.polywork.com/fahimbinamin">Polywork时间线</a>。</p>
<p>你也可以<a href="https://fahimbinamin.com/">访问我的网站</a>以了解更多关于我的信息和我目前正在做的工作。</p>
<p>非常感谢！</p>
<!--kg-card-end: markdown--> ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ 如何在 Windows 中使用 Linux——介绍 5 种方法 ]]>
                </title>
                <description>
                    <![CDATA[ 作为一名开发者，你可能需要同时运行 Linux 和 Windows。幸运的是，有多种可以两全其美的方法，你不需要为每个操作系统购买不同的电脑。 在这篇文章中，我们将探讨在 Windows 机器上使用 Linux 的几种方法。其中一些是基于浏览器或云端的，在使用前不需要任何安装。 以下是我们要讨论的方法：  * 双启动  * 用于 Linux 的 Windows 子系统（WSL）  * 虚拟机（VM）  * 基于浏览器的解决方案  * 基于云的解决方案 方案 1：双启动 Linux+Windows 通过双启动，你可以在计算机上安装 Linux 和 Windows，允许你在启动时选择使用哪个操作系统。 这需要对你的硬盘进行分区，将 Linux 安装在一个单独的分区上。采用这种方法，你一次只能使用一个操作系统。 如果这听起来像是你想要的方式，这里有一个关于在 Windows 10 上设置双启动的教程 [https://www.freecodecamp.org/news/how-to-dual-boot-windows-10-and-ubuntu-linux-dual-bootin ]]>
                </description>
                <link>https://www.freecodecamp.org/chinese/news/5-ways-to-use-linux-on-a-windows-machine/</link>
                <guid isPermaLink="false">649d15390f6905067957c25c</guid>
                
                    <category>
                        <![CDATA[ Linux ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Windows ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ Miya Liu ]]>
                </dc:creator>
                <pubDate>Thu, 29 Jun 2023 06:06:57 +0000</pubDate>
                <media:content url="https://chinese.freecodecamp.org/news/content/images/2023/06/5-ways-to-use-Linux-on-a-Windows-machine.png" medium="image" />
                <content:encoded>
                    <![CDATA[ <p data-test-label="translation-intro">
        <strong>原文：</strong> <a href="https://www.freecodecamp.org/news/5-ways-to-use-linux-on-a-windows-machine/" target="_blank" rel="noopener noreferrer" data-test-label="original-article-link">How to Use Linux on a Windows Machine – 5 Different Approaches</a>
      </p><p>作为一名开发者，你可能需要同时运行 Linux 和 Windows。幸运的是，有多种可以两全其美的方法，你不需要为每个操作系统购买不同的电脑。</p><p>在这篇文章中，我们将探讨在 Windows 机器上使用 Linux 的几种方法。其中一些是基于浏览器或云端的，在使用前不需要任何安装。</p><p>以下是我们要讨论的方法：</p><ul><li>双启动</li><li>用于 Linux 的 Windows 子系统（WSL）</li><li>虚拟机（VM）</li><li>基于浏览器的解决方案</li><li>基于云的解决方案</li></ul><h2 id="-1-linux-windows">方案 1：双启动 Linux+Windows</h2><p>通过双启动，你可以在计算机上安装 Linux 和 Windows，允许你在启动时选择使用哪个操作系统。</p><p>这需要对你的硬盘进行分区，将 Linux 安装在一个单独的分区上。采用这种方法，你一次只能使用一个操作系统。</p><p>如果这听起来像是你想要的方式，这里有一个关于在 Windows 10 上设置双启动的<a href="https://www.freecodecamp.org/news/how-to-dual-boot-windows-10-and-ubuntu-linux-dual-booting-tutorial/">教程</a>。</p><h2 id="-2-linux-windows-wsl-">方案 2：用于 Linux 的 Windows 子系统（WSL）</h2><p>Windows Subsystem for Linux 提供了一个兼容层，让你在 Windows 上原生地运行 Linux 二进制可执行文件。</p><p>使用 WSL 有一些优势：</p><ul><li>WSL 的设置很简单，不费时间。</li><li>与你必须从主机上分配资源的虚拟机相比，它是轻量级的。</li><li>你不需要为 Linux 机器安装任何 ISO 或虚拟磁盘映像，这些文件往往很大。</li><li>你可以同时使用 Windows 和 Linux。</li></ul><p>如果这听起来像是适合你的选择，这里有一份关于如何安装和使用 WSL 的<a href="https://www.freecodecamp.org/news/how-to-install-wsl2-windows-subsystem-for-linux-2-on-windows-10/">详细指南</a>。</p><h2 id="-3-vm-">方案 3：使用虚拟机（VM）</h2><p>虚拟机（VM）是一个物理计算机系统的软件仿真。它允许你在一台物理机上同时运行多个操作系统和应用程序。下面是对虚拟机的详细解释：</p><p>你可以使用虚拟化软件，如 Oracle VirtualBox 或 VMware，在你的 Windows 环境中创建一个运行 Linux 的虚拟机。这允许你将 Linux 作为客体操作系统与 Windows 一起运行。</p><p>虚拟机软件提供了为每个虚拟机分配和管理硬件资源的选项，包括 CPU 内核、内存、磁盘空间和网络带宽。你可以根据客体操作系统和应用程序的要求来调整这些分配。</p><p>下面是一些可用于虚拟化的选项：</p><ul><li><a href="https://www.virtualbox.org/">Oracle virtual box</a></li><li><a href="https://multipass.run/">Multipass</a></li><li><a href="https://www.vmware.com/content/vmware/vmware-published-sites/us/products/workstation-player.html.html">VMware workstation player</a></li></ul><h2 id="-4-">方案 4：使用基于浏览器的解决方案</h2><p>基于浏览器的解决方案对于快速测试、学习或从没有安装 Linux 的设备访问 Linux 环境特别有用。</p><p>你可以使用在线代码编辑器或基于 Web 的终端来访问 Linux。注意，在这些情况下，你通常没有完全的管理权限。</p><h3 id="-">在线代码编辑器</h3><p>在线代码编辑器提供内置 Linux 终端的编辑器。虽然它们的主要目的是编码，但你也可以利用 Linux 终端来执行命令和执行任务。</p><p><a href="https://replit.com/">Replit</a> 就是一个在线代码编辑器的例子，你可以在写代码的同时访问 Linux shell。</p><figure class="kg-card kg-image-card kg-width-wide kg-card-hascaption"><img src="https://www.freecodecamp.org/news/content/images/2023/06/replit.gif" class="kg-image" alt="replit" width="600" height="400" loading="lazy"><figcaption>Replit 提供代码编辑器和 Linux shell</figcaption></figure><h3 id="-linux-">基于网络的 Linux 终端</h3><p>在线 Linux 终端允许你直接从你的浏览器访问 Linux 命令行界面。这些终端为 Linux shell 提供了一个基于网络的接口，使你能够执行命令和使用 Linux 工具。</p><p><a href="https://jslinux.org/">JSLinux</a> 就是这样一个例子。下面的截图显示了一个可以使用的 Linux 环境：</p><figure class="kg-card kg-image-card kg-width-wide kg-card-hascaption"><img src="https://www.freecodecamp.org/news/content/images/2023/06/jslinux.gif" class="kg-image" alt="jslinux" width="600" height="400" loading="lazy"><figcaption>通过 JSLinux 访问 Linux</figcaption></figure><h2 id="-5-">方案 5：使用基于云的解决方案</h2><p>你可以考虑使用基于云的 Linux 环境或虚拟私人服务器（VPS）来远程访问和使用 Linux，而不是直接在你的 Windows 机器上运行 Linux。</p><p>Amazon EC2、Microsoft Azure 或 DigitalOcean 等服务提供了 Linux 实例，你可以从你的 Windows 电脑上连接到这些实例。请注意，其中一些服务提供免费服务，但如果要长期使用，就需要付费。</p><h2 id="--1">如何选择正确的方法</h2><p>选择什么完全取决于你的使用情况。但有一些因素可以帮助你决定哪种方法最适合你。让我们来讨论它们：</p><ul><li>访问级别/高级权限：如果你需要完全的管理权限，最好跳过基于浏览器的解决方案。WSL、双启动、虚拟机和基于云的解决方案可以为你提供完全的管理控制。</li><li>成本：基于云的解决方案提供的服务是有订阅费用的。这个费用根据操作系统的选择、机器的硬件规格、流量等而有所不同。如果你的预算紧张，基于云的解决方案可能不是最好的。</li><li>可扩展性：如果你刚刚开始，但计划在未来做资源详尽的开发，你可以随时扩大机器的物理规格。一些支持升级的选项是基于云的解决方案和虚拟机。你可以根据你的需要添加更多的处理器或增加 RAM。</li><li>当前系统的硬件规格：如果你目前的系统有较低的 RAM 和存储，运行虚拟机会使系统变得沉重。最好是选择基于云或基于浏览器的解决方案。</li><li>切换：如果你不打算同时使用 Windows 和 Linux，双启动可以是一个非常好的选择。它提供了完整而集中的 Linux 体验。</li></ul><h2 id="--2"><strong>我的配置</strong></h2><p>我正在使用通过 VMWare workstation player 安装的 Ubuntu 虚拟机。它运行得很好，我可以经常在两个操作系统之间切换。它的设置也很简单，我也有管理权限！</p><figure class="kg-card kg-image-card kg-width-wide"><img src="https://www.freecodecamp.org/news/content/images/2023/06/my-set.gif" class="kg-image" alt="my-set" width="600" height="400" loading="lazy"></figure><h2 id="--3"><strong>总结</strong></h2><p>我希望你觉得这篇文章对你有帮助。你从这个教程中学到的最喜欢的东西是什么？欢迎<a href="https://zaira_.bio.link/">和我联系</a>。📧</p><p>Happy coding 😁</p> ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ 电脑随机关机——如何解决Windows电脑关机的问题 ]]>
                </title>
                <description>
                    <![CDATA[ 如果你是一个 Windows 用户，你可能已经体验过你的电脑随机关闭。这种情况令人沮丧，并对你的生产力产生负面影响，因为它打断了重要的任务和活动。 这种随机关机可能是由软件或硬件问题引起的，或者在某些情况下两种原因都有。 我研究了 4 种阻止 Windows 10 电脑随机关机的方法，这样你就可以在电脑上做重要事情时不用担心被打断。 目录  * 检查计算机是否过热  * 关掉快速启动  * 更新过时的驱动程序和 GPU 驱动程序  * 扫描你的电脑是否有病毒  * 总结 解决方案 1：检查电脑是否过热 如今，计算机被设定为在加热到一定温度后关闭。这是一项安全措施，因为如果你的机器太热，可能会对硬件和软件组件造成损害。 如果你的 Windows 10 电脑突然关闭，我建议你做的第一件事是检查它是否过热。 过热可能是由于风扇损坏或性能不足、通风不良、灰尘和电源不足。 我建议你做的是清洁你的电脑，确保你工作的房间通风良好，使用一个稳定的电源，如果风扇的某些部分在下面，就把你的笔记本电脑抬高。 解决方案 2：关闭快速启动 Windows 10 为从睡眠、关机和休眠中快速恢复进行 ]]>
                </description>
                <link>https://www.freecodecamp.org/chinese/news/pc-randomly-turns-off-how-to-fix-windows-computer-shutting-down/</link>
                <guid isPermaLink="false">635f82ca73e419079177b8f1</guid>
                
                    <category>
                        <![CDATA[ Windows ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ Chengjun.L ]]>
                </dc:creator>
                <pubDate>Mon, 24 Oct 2022 08:09:00 +0000</pubDate>
                <media:content url="https://chinese.freecodecamp.org/news/content/images/2022/10/data-analytics-ga1927e78f_1280.jpeg" medium="image" />
                <content:encoded>
                    <![CDATA[ <p data-test-label="translation-intro">
        <strong>原文：</strong> <a href="https://www.freecodecamp.org/news/pc-randomly-turns-off-how-to-fix-windows-computer-shutting-down/" target="_blank" rel="noopener noreferrer" data-test-label="original-article-link">PC Randomly Turns Off – How to Fix Windows Computer Shutting Down</a>
      </p><p>如果你是一个 Windows 用户，你可能已经体验过你的电脑随机关闭。这种情况令人沮丧，并对你的生产力产生负面影响，因为它打断了重要的任务和活动。</p><p>这种随机关机可能是由软件或硬件问题引起的，或者在某些情况下两种原因都有。</p><p>我研究了 4 种阻止 Windows 10 电脑随机关机的方法，这样你就可以在电脑上做重要事情时不用担心被打断。</p><h2 id="-"><strong>目录</strong></h2><ul><li>检查计算机是否过热</li><li>关掉快速启动</li><li>更新过时的驱动程序和 GPU 驱动程序</li><li>扫描你的电脑是否有病毒</li><li>总结</li></ul><h2 id="-1-">解决方案 1：检查电脑是否过热</h2><p>如今，计算机被设定为在加热到一定温度后关闭。这是一项安全措施，因为如果你的机器太热，可能会对硬件和软件组件造成损害。</p><p>如果你的 Windows 10 电脑突然关闭，我建议你做的第一件事是检查它是否过热。</p><p>过热可能是由于风扇损坏或性能不足、通风不良、灰尘和电源不足。</p><p>我建议你做的是清洁你的电脑，确保你工作的房间通风良好，使用一个稳定的电源，如果风扇的某些部分在下面，就把你的笔记本电脑抬高。</p><h2 id="-2-">解决方案 2：关闭快速启动</h2><p>Windows 10 为从睡眠、关机和休眠中快速恢复进行了优化。如果不关闭这一功能，会妨碍性能，并导致随机关闭。</p><p>下面的步骤告诉你如何关闭 Windows 10 的快速启动。</p><p><strong>第 1 步</strong>：按键盘上的 <code>WIN</code> 键启动控制面板，输入“控制面板”（不带引号），然后点击 <code>ENTER</code> 键，打开第一个搜索结果。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/01/ss-1-1.png" class="kg-image" alt="ss-1-1" width="600" height="400" loading="lazy"></figure><p><strong>第 2 步</strong>：将控制面板的查看模式改为大图标。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/01/ss-2-3.jpg" class="kg-image" alt="ss-2-3" width="600" height="400" loading="lazy"></figure><p><strong>第 3 步</strong>：选择“电源选项”。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/01/ss-3-4.jpg" class="kg-image" alt="ss-3-4" width="600" height="400" loading="lazy"></figure><p><strong>第 4 步</strong>：点击“选择电源按钮的作用”链接。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/01/ss-4-4.jpg" class="kg-image" alt="ss-4-4" width="600" height="400" loading="lazy"></figure><p><strong><strong>第</strong> 5 步</strong>：打开“改变当前不可用的设置”链接。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/01/ss-5-4.jpg" class="kg-image" alt="ss-5-4" width="600" height="400" loading="lazy"></figure><p><strong><strong>第</strong> 6 步</strong>：取消选中“打开快速启动（推荐）”，并点击“保存更改”。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/01/ss-6-4.jpg" class="kg-image" alt="ss-6-4" width="600" height="400" loading="lazy"></figure><h2 id="-3-gpu-">解决方案 3：更新过时的驱动程序和 GPU 驱动程序</h2><p>过时的驱动程序可能是导致电脑随机关闭的罪魁祸首。</p><p>要更新任何驱动程序，通过右键单击“开始”并选择“设备管理器”以打开设备管理器。</p><p>逐一展开设备，右键点击每个设备，并选择“更新驱动程序”。</p><p>如果你无法处理逐个更新驱动程序的麻烦，可以在网上查看让你搜索电脑上过时的驱动程序并自动更新的服务。</p><p>就图形处理单元驱动程序而言，你可能无法像更新其他驱动程序那样通过更新它获得必要的更新。</p><p>你需要访问制造商的网站并从那里下载更新。</p><p>更新 GPU 驱动程序的最佳方法是：</p><p><strong>第 1 步</strong>：右键单击“开始”，选择“设备管理器”。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/01/devicemanager-2.jpg" class="kg-image" alt="devicemanager-2" width="600" height="400" loading="lazy"></figure><p><strong>第 2 步</strong>：展开显示适配器。</p><p><strong>第 3 步</strong>：右键点击你的显示适配器，选择“属性”。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/01/ss-1-5.jpg" class="kg-image" alt="ss-1-5" width="600" height="400" loading="lazy"></figure><p><strong><strong>第</strong> 4 步</strong>：切换到“细节”标签，点击“设备描述”下拉菜单，然后选择“硬件 Id”。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/01/ss-2-4.jpg" class="kg-image" alt="ss-2-4" width="600" height="400" loading="lazy"></figure><p><strong>第 6 步</strong>：打开你的浏览器，粘贴 ID，并进行搜索。前几个搜索结果将显示你的 GPU 的确切名称和制造商。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/01/ss-3-5.jpg" class="kg-image" alt="ss-3-5" width="600" height="400" loading="lazy"></figure><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/01/ss-4-2.png" class="kg-image" alt="ss-4-2" width="600" height="400" loading="lazy"></figure><p><strong>第 7 步</strong>：导航到 GPU 制造商的网站，下载一个更新的驱动程序。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/01/ss-5-3.png" class="kg-image" alt="ss-5-3" width="600" height="400" loading="lazy"></figure><p><strong>第 8 步</strong>：安装驱动程序并重新启动你的电脑。</p><p><strong>P.S.</strong>：如果你找不到制造商的官方网站，复制你的 GPU 显示的名称，并在其前面加上 “驱动更新”。在我的例子中，这将是 “Intel(R) HD Graphics 520 drivers / HP HP EliteBook 840 G3 的驱动程序更新”。</p><h2 id="-4-">解决方案 4：扫描你的电脑是否有病毒</h2><p>一些恶意软件和病毒确实会导致你的电脑突然关机。</p><p>在这种情况下，你应该做的是用 Windows Security（又称 &nbsp;Windows Defender）或你选择的任何第三方防病毒程序进行全系统扫描。</p><p>下面的步骤解释了如何用 Windows Security 进行全系统扫描：</p><p><strong>第 1 步</strong>：按键盘上的 <code>WIN</code> 键，搜索 “windows security”。第一个搜索结果应该是Windows Security。按 <code>ENTER</code> 键打开它。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/01/ss-6-5.jpg" class="kg-image" alt="ss-6-5" width="600" height="400" loading="lazy"></figure><p><strong><strong>第</strong> <strong>2</strong> 步</strong>：切换到左边的“病毒和威胁保护”选项卡。</p><p><strong><strong>第</strong> 3 步</strong>：点击“扫描选项”链接。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/01/ss-7-2.jpg" class="kg-image" alt="ss-7-2" width="600" height="400" loading="lazy"></figure><p><strong>第 4 步</strong>：选择“全面扫描”并点击“立即扫描”。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/01/ss-8-4.jpg" class="kg-image" alt="ss-8-4" width="600" height="400" loading="lazy"></figure><p><strong><strong>P.S</strong></strong>：这可能需要很多小时，所以要有耐心。</p><h2 id="--1"><strong>总结</strong></h2><p>本文带你了解 4 种不太复杂的方法，你可以修复随机关闭的 Windows 10 电脑。</p><p>除了这些方法外，还有其他方法可以用来解决这个问题，如更新 BIOS 和检查硬盘。但这些方法不推荐给初学者和不从事硬件工作的工程师。</p><p>如果本文推荐的 4 种方法都不能帮助你，你应该寻求专业服务。</p><p>谢谢你阅读本文。</p> ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ 如何在 Windows 10 中下载和安装 NVM ]]>
                </title>
                <description>
                    <![CDATA[ 不同的软件开发工具可能需要特定版本的 Node.js 和 NPM（Node 包管理器）。NPM 是一个用于管理从 NPM 注册表安装的包的工具。 此外，如果你正在制作 NPM 包，你可能需要使用不同版本的 Node.js 对其进行测试。这就是你应该安装 NVM 的原因。 NVM 是 Node Version Manager（Node 版本管理工具）的缩写，是一个命令行工具，用于管理和切换到不同版本的 Node.js。 在本文中，我将向你展示如何在 Windows 10 上下载和安装 NVM。 我还将向你展示如何在你的 Windows 计算机上设置和使用不同版本的 Node.js 和 NPM。 我们将涵盖的内容  * 如何在 Windows 10 中下载和安装 NVM  * 按照步骤下载 nvm-windows  * 如何在 Windows 10 ]]>
                </description>
                <link>https://www.freecodecamp.org/chinese/news/nvm-for-windows-how-to-download-and-install-node-version-manager-in-windows-10/</link>
                <guid isPermaLink="false">63089e37aeb66407f67d0fe4</guid>
                
                    <category>
                        <![CDATA[ Windows ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Node.js ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ Miya Liu ]]>
                </dc:creator>
                <pubDate>Fri, 26 Aug 2022 03:20:00 +0000</pubDate>
                <media:content url="https://chinese.freecodecamp.org/news/content/images/2022/08/patrick-fore-okjrirj2dGY-unsplash.jpg" medium="image" />
                <content:encoded>
                    <![CDATA[ <p data-test-label="translation-intro">
        <strong>原文：</strong> <a href="https://www.freecodecamp.org/news/nvm-for-windows-how-to-download-and-install-node-version-manager-in-windows-10/" target="_blank" rel="noopener noreferrer" data-test-label="original-article-link">NVM for Windows – How to Download and Install Node Version Manager in Windows 10</a>
      </p><p>不同的软件开发工具可能需要特定版本的 Node.js 和 NPM（Node 包管理器）。NPM 是一个用于管理从 NPM 注册表安装的包的工具。</p><p>此外，如果你正在制作 NPM 包，你可能需要使用不同版本的 Node.js 对其进行测试。这就是你应该安装 NVM 的原因。</p><p>NVM 是 Node Version Manager（Node 版本管理工具）的缩写，是一个命令行工具，用于管理和切换到不同版本的 Node.js。</p><p>在本文中，我将向你展示如何在 Windows 10 上下载和安装 NVM。</p><p>我还将向你展示如何在你的 Windows 计算机上设置和使用不同版本的 Node.js 和 NPM。</p><h2 id="-">我们将涵盖的内容</h2><ul><li>如何在 Windows 10 中下载和安装 NVM</li><li>按照步骤下载 nvm-windows</li><li>如何在 Windows 10 上使用 NVM</li><li>如何使用 NVM 安装不同版本的 Node.js 和 NPM</li><li>总结</li></ul><h2 id="-windows-10-nvm">如何在 Windows 10 中下载和安装 NVM</h2><p>正如我之前提到的，Windows 不支持 NVM，因为 NVM 仅在 Linux 和 Mac 上受支持。</p><p>你将在 Windows 机器上使用的是 “nvm-windows”。 nvm-windows 类似于 NVM，但不完全相同。</p><p><strong>注意：</strong>如果你已经安装了 Node.js，你需要卸载它，这样在使用不同版本的 Node 和从 NPM 注册表安装包时不会导致错误。</p><p>之后重新启动你的电脑，打开命令提示符或 PowerShell，然后运行 ​​<code>node -v</code> 以确认 Node 已被卸载。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/08/ss1-2.png" class="kg-image" alt="ss1-2" width="600" height="400" loading="lazy"></figure><p>另外，如果你安装了 yarn，卸载它，安装 NVM 后重新安装它。你不想在安装和使用 NPM 注册表中的包时遇到奇怪的错误。</p><h2 id="-nvm-windows">按照步骤下载 nvm-windows</h2><p><strong>第 1 步：</strong>前往 <a href="https://github.com/coreybutler/nvm-windows#installation--upgrades">nvm-windows 仓库</a>，然后单击立即下载</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/08/ss2-2.png" class="kg-image" alt="ss2-2" width="600" height="400" loading="lazy"></figure><p>你将看到一个包含不同版本的 nvm-windows 的页面。</p><ul><li><strong>第 2 步：</strong>点击最新版本下载。目前，它是 2022 年 4 月 28 日的版本。</li></ul><figure class="kg-card kg-image-card"><img src="https://chinese.freecodecamp.org/news/content/images/2022/08/image-5.png" class="kg-image" alt="image-5" width="1514" height="846" loading="lazy"></figure><ul><li><strong>第 3 步：</strong>在你的计算机上找到安装程序并打开它，按照安装向导进行安装。</li></ul><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/08/ss4-2.png" class="kg-image" alt="ss4-2" width="600" height="400" loading="lazy"></figure><figure class="kg-card kg-image-card"><img src="https://chinese.freecodecamp.org/news/content/images/2022/08/image-6.png" class="kg-image" alt="image-6" width="763" height="602" loading="lazy"></figure><ul><li><strong>第 4 步：</strong>打开 PowerShell 或命令提示符并运行 <code>nvm -v</code> 以确认安装。</li></ul><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/08/ss6-2.png" class="kg-image" alt="ss6-2" width="600" height="400" loading="lazy"></figure><p>如果你收到与我上面相同的消息，则 nvm-windows 已成功安装，恭喜！</p><h2 id="-windows-10-nvm-1">如何在 Windows 10 上使用 NVM</h2><p>要使用 NVM，你需要以管理员身份打开 PowerShell 或命令提示符。你也可以使用 Git bash。</p><ul><li>要以管理员身份打开 PowerShell，请右键单击开始并选择 “PowerShell（Admin）”。</li></ul><figure class="kg-card kg-image-card"><img src="https://chinese.freecodecamp.org/news/content/images/2022/08/image-7.png" class="kg-image" alt="image-7" width="387" height="906" loading="lazy"></figure><ul><li>要以管理员身份打开命令提示符，请搜索 “cmd” 并选择右侧的“以管理员身份打开”。</li></ul><figure class="kg-card kg-image-card"><img src="https://chinese.freecodecamp.org/news/content/images/2022/08/image-8.png" class="kg-image" alt="image-8" width="1185" height="968" loading="lazy"></figure><h2 id="-nvm-node-js-npm">如何使用 NVM 安装不同版本的 Node.js 和 NPM</h2><p>超级强大的 NVM 让你能够在你的机器上安装多个版本的 Node.js。</p><p>要安装最新版本的 Node，请运行 <code>nvm install latest</code>。</p><figure class="kg-card kg-image-card"><img src="https://chinese.freecodecamp.org/news/content/images/2022/08/image-9.png" class="kg-image" alt="image-9" width="701" height="325" loading="lazy"></figure><p>安装 Node 的长期支持（LTS）版本更好，因为它的 bug 更少。</p><p>要安装 LTS 版本的 Node，请运行 <code>nvm install lts</code>。</p><figure class="kg-card kg-image-card"><img src="https://chinese.freecodecamp.org/news/content/images/2022/08/image-10.png" class="kg-image" alt="image-10" width="694" height="402" loading="lazy"></figure><p>要安装特定版本的 Node，你需要先运行 <code>nvm list available</code>，以便查看可用的 Node 版本。</p><figure class="kg-card kg-image-card"><img src="https://chinese.freecodecamp.org/news/content/images/2022/08/image-11.png" class="kg-image" alt="image-11" width="960" height="728" loading="lazy"></figure><p>要安装该特定版本，请运行 <code>nvm install node-version-number</code>，例如，<code>nvm install 14.20.0</code>。</p><figure class="kg-card kg-image-card"><img src="https://chinese.freecodecamp.org/news/content/images/2022/08/image-12.png" class="kg-image" alt="image-12" width="751" height="396" loading="lazy"></figure><p><strong>注意：</strong>一旦你安装了一个版本的 Node，就会为你安装相应版本的 NPM，所以你不需要单独安装 NPM。</p><p>如果你要使用的 NPM 版本不可用，请运行 <code>npm install @npm version-number -g</code> 进行安装。</p><p>现在，要查看你在 Windows 机器上安装的 Node 版本列表，请运行 <code>nvm list</code>。</p><figure class="kg-card kg-image-card"><img src="https://chinese.freecodecamp.org/news/content/images/2022/08/image-13.png" class="kg-image" alt="image-13" width="613" height="366" loading="lazy"></figure><p>要使用特定版本的 Node，请运行：</p><ul><li><code>nvm use latest</code> 使用最新版本</li><li><code>nvm use lts</code> 使用长期支持版本</li><li><code>nvm use version-number</code> 使用你已安装的任何其他版本</li></ul><figure class="kg-card kg-image-card"><img src="https://chinese.freecodecamp.org/news/content/images/2022/08/image-14.png" class="kg-image" alt="image-14" width="622" height="360" loading="lazy"></figure><h2 id="--1"><strong>总结</strong></h2><p>本文向你展示了如何在 Windows 10（nvm-windows）上安装 NVM，以及如何使用它来安装和管理不同版本的 Node.js。</p><p>提醒一下，以下是你将与 nvm-windows 一起使用的常用命令：</p><ul><li><code>nvm install node-version</code> – 安装一个版本的 Node</li><li><code>nvm list</code> – 查看你机器上安装的 Node 版本</li><li><code>nvm use node-version</code> – 使用特定版本的 Node</li></ul><p>感谢你阅读本文，继续编码吧:)</p> ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ 如何在 Windows 7、8 和 10 中更改启动程序 ]]>
                </title>
                <description>
                    <![CDATA[ 原文：How to Change Startup Programs in Windows 7, 8 And 10 [https://www.freecodecamp.org/news/how-to-change-startup-program-in-windows-7-8-and-10/] ，作者：Dillion Megida [https://www.freecodecamp.org/news/author/dillionmegida/] 启动程序是在系统启动时自动运行的程序。对于你经常使用的程序，这是一个很好的做法，因为它为你节省了搜索这些程序或者在某些情况下手动设置它们的精力。 某些程序在安装时也默认具有此功能。 但是，如果你有太多启动程序，可能会减慢启动过程。这会产生负面影响，尤其是对内存较小或处理能力较低的系统。 在本文中，我们将学习如何打开启动应用程序控制面板，如何启用和禁用启动应用程序，以及如何在 Windows 7、8 和 10 中添加我们想要的启动程序。 在每个 Windows 版本中，都有一个用于启动应用程序的控制面板，其中显示了可以在启动时自动运行的应用 ]]>
                </description>
                <link>https://www.freecodecamp.org/chinese/news/how-to-change-startup-program-in-windows-7-8-and-10/</link>
                <guid isPermaLink="false">62f0c3ad8d13aa0845c640b0</guid>
                
                    <category>
                        <![CDATA[ Windows ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ Chengjun.L ]]>
                </dc:creator>
                <pubDate>Wed, 03 Aug 2022 07:00:00 +0000</pubDate>
                <media:content url="https://chinese.freecodecamp.org/news/content/images/2022/08/5f9c9d4b740569d1a4ca36f9.jpeg" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>原文：<a href="https://www.freecodecamp.org/news/how-to-change-startup-program-in-windows-7-8-and-10/">How to Change Startup Programs in Windows 7, 8 And 10</a>，作者：<a href="https://www.freecodecamp.org/news/author/dillionmegida/">Dillion Megida</a></p><p>启动程序是在系统启动时自动运行的程序。对于你经常使用的程序，这是一个很好的做法，因为它为你节省了搜索这些程序或者在某些情况下手动设置它们的精力。</p><p>某些程序在安装时也默认具有此功能。</p><p>但是，如果你有太多启动程序，可能会减慢启动过程。这会产生负面影响，尤其是对内存较小或处理能力较低的系统。</p><p>在本文中，我们将学习如何打开启动应用程序控制面板，如何启用和禁用启动应用程序，以及如何在 Windows 7、8 和 10 中添加我们想要的启动程序。</p><p>在每个 Windows 版本中，都有一个用于启动应用程序的控制面板，其中显示了可以在启动时自动运行的应用程序列表。这些应用程序可以被启动或禁用。</p><p>因此，让我们看一下每个 Windows 版本的流程。</p><h2 id="-windows-7-">在 Windows 7 中</h2><h3 id="-">打开启动应用程序控制面板</h3><p>打开 Windows 启动菜单，然后键入 “<strong>MSCONFIG</strong>”。当你按下回车键时，系统配置控制台将打开。然后单击 “<strong>Startup（启动）</strong>” 选项卡，该选项卡将显示一些启动时可以启用或禁用的程序。</p><h3 id="--1">禁用/启用启动应用程序</h3><p>应用程序旁边的复选框指示状态。如果选中，则启用为启动程序，否则禁用。</p><p>要禁用已启用的应用程序，只需取消选中复选框并单击“应用”。</p><p>要启用禁用的应用程序，请选中复选框并单击“应用”。</p><p>这两个过程要求重新启动系统，以将更改应用于应用程序。</p><h3 id="--2">添加启动应用程序</h3><p>要添加应用程序，你需要浏览启动文件夹。为此，请尝试以下任何一种方法；</p><ul><li>打开开始菜单并输入“<strong>启动</strong>”进行搜索。找到后，右键单击并选择“浏览”以打开文件夹。</li><li>打开开始菜单，选择“<strong>所有程序</strong>”并向下滚动列表，直到找到启动文件夹。</li></ul><p>创建所需程序的快捷方式，然后将其复制并粘贴到此文件夹中。在此之后，程序将自动添加到面板中，状态为 “<strong>enabled（已启用）</strong>”。</p><h2 id="-windows-8-"><strong>在 Windows 8 中</strong></h2><h3 id="--3">打开启动应用程序控制面板</h3><p>要打开面板，请尝试以下任何操作：</p><ul><li>打开“任务管理器”并选择“启动”选项卡。</li><li>打开 Windows 启动菜单，然后键入“启动”以搜索该程序，选择提供的任何选项。</li></ul><h3 id="--4">禁用/启用启动应用程序</h3><p>要禁用已启用的启动应用程序，请右键单击该应用程序并选择“禁用”。</p><p>要启用已禁用的启动应用程序，请右键单击该应用程序并选择“启用”。</p><h3 id="--5">添加启动应用程序</h3><p>按 Windows 和字母 R 键打开“运行”对话框，然后输入 <strong><strong>%AppData%</strong></strong>。这将打开一个漫游文件夹。</p><p>导航到 <strong>\Microsoft\Windows\开始菜单\程序\启动</strong>。在此文件夹中，粘贴所需应用程序的快捷方式。这将使它成为一个状态为“启用”的启动应用程序。</p><h2 id="-windows-10-"><strong>在 Windows 10 中</strong></h2><h3 id="--6">打开启动应用程序控制面板</h3><ul><li>打开开始菜单，键入“启动应用程序”（进行搜索）并单击任何结果。</li><li>打开“任务管理器”，然后选择“启动”选项卡。</li></ul><h3 id="--7">禁用/启用启动应用程序</h3><p>要禁用启动应用程序，请右键单击列表中状态为“启用”的任何应用程序，然后选择“禁用”。</p><p>要启用列表中禁用的启动应用程序，请右键单击该应用程序并选择“启用”。</p><h3 id="--8">添加启动应用程序</h3><p>按住键盘上的 Windows 和字母 R 键，在运行对话框中输入“<strong>shell:startup</strong>”。</p><p>在该文件夹中，你可以添加你希望在启动时运行的任何应用程序，它们将被添加到列表中。当你访问启动应用程序时，你可以禁用或启用它们。</p><h2 id="--9">小结</h2><p>如果你在启动系统时总是运行一些应用程序，最好将其设为启动程序。</p><p>当你的系统启动缓慢时，很可能是因为启动程序太多。现在你知道如何禁用它们了。</p> ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ 电池图标不显示——如何在 Windows PC 中恢复电池图标 ]]>
                </title>
                <description>
                    <![CDATA[ 原文：Battery Icon Not Showing – How to Restore Missing Battery Icon in Windows PC [https://www.freecodecamp.org/news/battery-icon-not-showing-how-to-restore-missing-battery-icon-in-windows-pc/] ，作者：Kolade Chris [https://www.freecodecamp.org/news/author/kolade/] 有时候，你在使用 Windows PC 时会发现在任务栏中找不到电池图标。 你甚至展开隐藏的图标，仍然找不到电池图标。 这可能会对你的工作效率产生负面影响——因为如果你不给笔记本电脑插入电源，电池可能会耗尽而你都不知道。 我遇到了同样的问题并修复了它。因此，在本文中，我将向你展示如何在 Windows PC 上恢复消失的电池图标。 解决方案 1：通过任务栏设置显示电池图标 第一步：在任务栏空白处右击，选择“任务栏设置”。 第二步：在“通知区域”下，点击“打开或 ]]>
                </description>
                <link>https://www.freecodecamp.org/chinese/news/battery-icon-not-showing-how-to-restore-missing-battery-icon-in-windows-pc/</link>
                <guid isPermaLink="false">62d0df268d13aa0845c62749</guid>
                
                    <category>
                        <![CDATA[ Windows ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ Chengjun.L ]]>
                </dc:creator>
                <pubDate>Thu, 14 Jul 2022 03:29:00 +0000</pubDate>
                <media:content url="https://chinese.freecodecamp.org/news/content/images/2022/07/batteryMissing.png" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>原文：<a href="https://www.freecodecamp.org/news/battery-icon-not-showing-how-to-restore-missing-battery-icon-in-windows-pc/">Battery Icon Not Showing – How to Restore Missing Battery Icon in Windows PC</a>，作者：<a href="https://www.freecodecamp.org/news/author/kolade/">Kolade Chris</a></p><p>有时候，你在使用 Windows PC 时会发现在任务栏中找不到电池图标。<br></p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/07/ss1.png" class="kg-image" alt="ss1" width="600" height="400" loading="lazy"></figure><p>你甚至展开隐藏的图标，仍然找不到电池图标。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/07/ss2.png" class="kg-image" alt="ss2" width="600" height="400" loading="lazy"></figure><p>这可能会对你的工作效率产生负面影响——因为如果你不给笔记本电脑插入电源，电池可能会耗尽而你都不知道。</p><p>我遇到了同样的问题并修复了它。因此，在本文中，我将向你展示如何在 Windows PC 上恢复消失的电池图标。</p><h2 id="-1-">解决方案 1：通过任务栏设置显示电池图标</h2><p><strong>第一步：</strong>在任务栏空白处右击，选择“任务栏设置”。<br></p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/07/ss3.png" class="kg-image" alt="ss3" width="600" height="400" loading="lazy"></figure><p><strong>第二步：</strong>在“通知区域”下，点击“打开或关闭系统图标”。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/07/ss4.png" class="kg-image" alt="ss4" width="600" height="400" loading="lazy"></figure><p>第三步：切换“电源”。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/07/toggle-on-battery-icon.gif" class="kg-image" alt="toggle-on-battery-icon" width="600" height="400" loading="lazy"></figure><p><strong>注意：</strong>如果电池图标在此处显示为灰色，请继续执行本文中的下一个修复。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/07/ss9.png" class="kg-image" alt="ss9" width="600" height="400" loading="lazy"></figure><h2 id="-2-">解决方案 2：禁用和重新启用电池硬件</h2><p><strong>第一步：</strong>右键单击开始并选择设备管理器。<br></p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/07/ss5.png" class="kg-image" alt="ss5" width="600" height="400" loading="lazy"></figure><p><strong>第二步：</strong>展开电池，右键单击 “Microsoft AC Adapter”，然后选择 “禁用设备”。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/07/ss6.png" class="kg-image" alt="ss6" width="600" height="400" loading="lazy"></figure><p>你会看到一个警告。单击 “Yes” 继续。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/07/ss7.png" class="kg-image" alt="ss7" width="600" height="400" loading="lazy"></figure><p><strong>第三步：</strong>对第二个设备（Microsoft ACPI Compliant Control Method Battery）重复第二步中的过程。</p><p><strong>第四步：</strong>重新启用两个设备。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/07/ss8.png" class="kg-image" alt="ss8" width="600" height="400" loading="lazy"></figure><p><strong>第五步：</strong>重新启动计算机。</p><h2 id="-"><strong>小结</strong></h2><p>如果本文建议的两个修复方法都无法恢复电池图标，则应更新 Windows。</p><p>如果你发现该指南有用，请不要犹豫，分享它，这样你可以帮助人们。</p><p>感谢你阅读本文。</p> ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ 在 Windows 上将 HEIC 转换为 JPG ]]>
                </title>
                <description>
                    <![CDATA[ 原文：Convert HEIC to JPG on Windows – HEIC File Format on PC [https://www.freecodecamp.org/news/convert-heic-to-jpg-on-windows-heic-file-format-on-pc/] ，作者：Kolade Chris [https://www.freecodecamp.org/news/author/kolade/] HEIC 照片格式是 Apple 专有版本的 HEIF（高效图像文件）文件格式。 这是一种比 JPG 和 JPEG 更好的照片保存方式，因为有了它，你可以在设备上节省多达 50% 的磁盘空间而不会降低质量。 由于 HEIC 归 Apple 所有，因此使用最新 macOS 版本和 iOS 11 以上版本拍摄的照片以 .heic 格式保存。但它在 Windows 和 Android 等其他设备上并不容易使用。 因此，在本文中，我将向你展示如何在 Windows 电脑上将 HEIC 文件转换为 JPG。 ]]>
                </description>
                <link>https://www.freecodecamp.org/chinese/news/convert-heic-to-jpg-on-windows-heic-file-format-on-pc/</link>
                <guid isPermaLink="false">62773dd99b47a0069dd8bb94</guid>
                
                    <category>
                        <![CDATA[ Windows ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ Chengjun.L ]]>
                </dc:creator>
                <pubDate>Thu, 05 May 2022 03:50:00 +0000</pubDate>
                <media:content url="https://chinese.freecodecamp.org/news/content/images/2022/05/heic.png" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>原文：<a href="https://www.freecodecamp.org/news/convert-heic-to-jpg-on-windows-heic-file-format-on-pc/">Convert HEIC to JPG on Windows – HEIC File Format on PC</a>，作者：<a href="https://www.freecodecamp.org/news/author/kolade/">Kolade Chris</a></p><p>HEIC 照片格式是 Apple 专有版本的 HEIF（高效图像文件）文件格式。</p><p>这是一种比 JPG 和 JPEG 更好的照片保存方式，因为有了它，你可以在设备上节省多达 50% 的磁盘空间而不会降低质量。</p><p>由于 HEIC 归 Apple 所有，因此使用最新 macOS 版本和 iOS 11 以上版本拍摄的照片以 .heic 格式保存。但它在 Windows 和 Android 等其他设备上并不容易使用。</p><p>因此，在本文中，我将向你展示如何在 Windows 电脑上将 HEIC 文件转换为 JPG。</p><h2 id="-windows-heic-jpg">如何在 Windows 上将 HEIC 转换为 JPG</h2><p><strong>第 1 步：</strong>要在 Windows 上将 HIEC 转换为 JPG，请前往 Microsoft 商店并搜索 “HEIC to JPG (FREE)”。它可以让你在一天内将 10 个 HEIC 文件转换为 JPG。</p><p><strong>第 2 步：</strong>点击搜索结果中出现的第一个应用程序，在下一页上点击 “GET”，然后安装它。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2021/09/heic-converter.jpg" class="kg-image" alt="heic-converter" width="600" height="400" loading="lazy"></figure><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2021/09/get-heic-converter.jpg" class="kg-image" alt="get-heic-converter" width="600" height="400" loading="lazy"></figure><p>安装后启动应用程序，你应该会看到如下界面：</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2021/09/heic-to-jpg.png" class="kg-image" alt="heic-to-jpg" width="600" height="400" loading="lazy"></figure><p><strong>第 3 步：</strong>要将任何 HEIC 格式的图片转换为 JPG，只需将图片拖放到应用程序中，或者复制粘贴，图片将立即转换：</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2021/09/convert-to-heic.gif" class="kg-image" alt="convert-to-heic" width="600" height="400" loading="lazy"></figure><p>要查看转换后的文件，请前往图片，你应该看到一个名为 “HEIC to JPG Conversions” 的文件夹。在那里，你会看到所有用该应用程序转换的图像。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2021/09/view-heic.gif" class="kg-image" alt="view-heic" width="600" height="400" loading="lazy"></figure><h2 id="-"><strong>总结</strong></h2><p>在这篇文章中，你学到了如何在 Windows 上将 HEIC 文件转换为 JPG，这样你就可以开始在 Windows 机器上查看文件。</p><p>如果你觉得这篇文章有帮助，请与你的朋友和亲人分享它。</p><p>谢谢你阅读本文，祝你有个愉快的时光。</p> ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ 如何在 Windows 10 中检查 GPU ]]>
                </title>
                <description>
                    <![CDATA[ 原文：What Graphics Card Do I Have? How to Check Your GPU in Windows 10 [PC GUIDE] [https://www.freecodecamp.org/news/what-graphics-card-do-i-have-how-to-check-your-gpu-in-windows-10-pc-guide/] ，作者：Kolade Chris [https://www.freecodecamp.org/news/author/kolade/] 每台电脑都有一块显卡，处理你在显示器上看到的每个像素的渲染。该显卡在显示视频、运行应用程序，尤其是处理视频游戏画面方面也发挥着至关重要的作用。 计算机也有一个图形处理单元（GPU），用于渲染图像和视频。你的电脑有一个英特尔、AMD 或 NVIDIA 的 GPU。 如果你的电脑没有配备强大的 GPU 和显卡，你可能无法玩最新的游戏，运行信息图，以及使用视频密集型应用程序。而且某些应用程序可能无法正确渲染。 在本指南中，我将向你展示在 Windows 10 中检查 GPU  ]]>
                </description>
                <link>https://www.freecodecamp.org/chinese/news/what-graphics-card-do-i-have-how-to-check-your-gpu-in-windows-10-pc-guide/</link>
                <guid isPermaLink="false">626f9825395ec5063718b094</guid>
                
                    <category>
                        <![CDATA[ Windows ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ Miya Liu ]]>
                </dc:creator>
                <pubDate>Mon, 25 Apr 2022 09:00:00 +0000</pubDate>
                <media:content url="https://chinese.freecodecamp.org/news/content/images/2022/05/pexels-francesco-ungaro-1670977.jpeg" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>原文：<a href="https://www.freecodecamp.org/news/what-graphics-card-do-i-have-how-to-check-your-gpu-in-windows-10-pc-guide/">What Graphics Card Do I Have? How to Check Your GPU in Windows 10 [PC GUIDE]</a>，作者：<a href="https://www.freecodecamp.org/news/author/kolade/">Kolade Chris</a></p><p>每台电脑都有一块显卡，处理你在显示器上看到的每个像素的渲染。该显卡在显示视频、运行应用程序，尤其是处理视频游戏画面方面也发挥着至关重要的作用。</p><p>计算机也有一个图形处理单元（GPU），用于渲染图像和视频。你的电脑有一个英特尔、AMD 或 NVIDIA 的 GPU。</p><p>如果你的电脑没有配备强大的 GPU 和显卡，你可能无法玩最新的游戏，运行信息图，以及使用视频密集型应用程序。而且某些应用程序可能无法正确渲染。</p><p>在本指南中，我将向你展示在 Windows 10 中检查 GPU 的 3 种方法，这样你就可以知道你有什么以及是否需要升级它。</p><h2 id="-directx-gpu">如何用 DirectX 诊断工具检查 GPU</h2><p><strong>第 1 步：</strong>点击开始菜单，搜索 “dxdiag”，并打开它。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2021/10/ss-1-1.png" class="kg-image" alt="ss-1-1" width="600" height="400" loading="lazy"></figure><p><strong>第 2 步：</strong>你可能会被提示选择 “Yes”。请确保你选择 “Yes” 来继续。</p><p><strong>第 3 步：</strong>点击显示标签，你将看到你的 GPU 供应商、型号和其他信息。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2021/10/ss-2-3.jpg" class="kg-image" alt="ss-2-3" width="600" height="400" loading="lazy"></figure><h2 id="-gpu">如何通过设备管理器检查 GPU</h2><p><strong>第 1 步：</strong>要在设备管理器下检查 Windows 10 电脑的 GPU，请点击开始或搜索图标并搜索“设备管理器”，然后点击设备管理器或按回车键。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2021/10/ss-3-2.png" class="kg-image" alt="ss-3-2" width="600" height="400" loading="lazy"></figure><p><strong>第 2 步：</strong>展开显示适配器分支，查看你的计算机 GPU 的型号和供应商。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2021/10/ss-4-2.jpg" class="kg-image" alt="ss-4-2" width="600" height="400" loading="lazy"></figure><h2 id="-gpu-1"><strong>如何通过设置检查 GPU</strong></h2><p>要在设置中检查计算机的 GPU，请点击“开始”并点击齿轮图标以打开“设置”。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2021/10/ss-5-3.png" class="kg-image" alt="ss-5-3" width="600" height="400" loading="lazy"></figure><p><strong>第 2 步：</strong>从你看到的列表中选择“系统”：</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2021/10/ss-6-1.jpg" class="kg-image" alt="ss-6-1" width="600" height="400" loading="lazy"></figure><p><strong>第 3 步：</strong>确保“显示”被选中，虽然它总是在列表中的第一个。</p><p><strong>第 4 步：</strong>在“多重显示”下，点击“高级显示设置”。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2021/10/ss-7-1.jpg" class="kg-image" alt="ss-7-1" width="600" height="400" loading="lazy"></figure><p><strong>第 5 步：</strong>你应该马上看到默认显示器的 GPU 信息，包括型号和供应商（英特尔、AMD、NVIDIA）。</p><p>如果你安装了多个显示器，选择你想查看 GPU 信息的那个。</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2021/10/ss-8.jpg" class="kg-image" alt="ss-8" width="600" height="400" loading="lazy"></figure><h2 id="-"><strong>总结</strong></h2><p>在本指南中，你了解了 3 种不同的方法，可以检查你的 Windows 10 计算机的 GPU。这将帮助你了解更多关于你的设备，也知道如果 GPU 不够强大，接下来该怎么做。</p><p>谢谢你阅读本文。如果你觉得这篇文章有帮助，请与你的朋友和家人分享它。</p> ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ 如何强制删除文件——Windows 命令提示符 cmd delete ]]>
                </title>
                <description>
                    <![CDATA[ 原文：How to Force Delete a File – Windows Command Prompt cmd delete [https://www.freecodecamp.org/news/how-to-force-delete-a-file-windows-command-prompt-cmd-delete/] ，作者：Kolade Chris [https://www.freecodecamp.org/news/author/kolade/] 在 Windows 电脑上，你可能想删除文件以释放磁盘空间，或者因为你不想要电脑上的文件了。 但有时，由于各种原因，似乎无法删除一个文件。这些原因包括该文件在另一个程序中打开、缺乏写入权限、恶意软件攻击、回收站损坏或没有空间、该文件是一个系统文件，以及许多其他原因。 在这篇文章中，我将告诉你如何用命令提示符强制删除一个文件，这样你就可以摆脱一个顽固的、不需要的文件了。 如何用 Windows 命令提示符强制删除一个文件 下面的步骤将帮助你用 del 命令强制删除一个文件。 第 1 步：通过点击“开始”（或点击键盘上的 W ]]>
                </description>
                <link>https://www.freecodecamp.org/chinese/news/how-to-force-delete-a-file-windows-command-prompt-cmd-delete/</link>
                <guid isPermaLink="false">6255369d99ec7406219e6568</guid>
                
                    <category>
                        <![CDATA[ Windows ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ Chengjun.L ]]>
                </dc:creator>
                <pubDate>Tue, 12 Apr 2022 05:30:00 +0000</pubDate>
                <media:content url="https://chinese.freecodecamp.org/news/content/images/2022/04/trash-97586_1280.png" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>原文：<a href="https://www.freecodecamp.org/news/how-to-force-delete-a-file-windows-command-prompt-cmd-delete/">How to Force Delete a File – Windows Command Prompt cmd delete</a>，作者：<a href="https://www.freecodecamp.org/news/author/kolade/">Kolade Chris</a></p><p>在 Windows 电脑上，你可能想删除文件以释放磁盘空间，或者因为你不想要电脑上的文件了。</p><p>但有时，由于各种原因，似乎无法删除一个文件。这些原因包括该文件在另一个程序中打开、缺乏写入权限、恶意软件攻击、回收站损坏或没有空间、该文件是一个系统文件，以及许多其他原因。</p><p>在这篇文章中，我将告诉你如何用命令提示符强制删除一个文件，这样你就可以摆脱一个顽固的、不需要的文件了。</p><h2 id="-windows-">如何用 Windows 命令提示符强制删除一个文件</h2><p>下面的步骤将帮助你用 <code>del</code> 命令强制删除一个文件。</p><p><strong>第 1 步：</strong>通过点击“开始”（或点击键盘上的 Windows 标志键）打开命令提示符，搜索 “cmd”，然后点击 <code>Enter</code>：</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/04/openCMD.jpg" class="kg-image" alt="openCMD" width="600" height="400" loading="lazy"></figure><p><strong>第 2 步：</strong>访问包含该文件的文件夹，点击文件夹地址栏，并复制地址：</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/04/ss1.png" class="kg-image" alt="ss1" width="600" height="400" loading="lazy"></figure><p><strong>第 3 步：</strong>在命令提示符中，键入 <code>del</code>，右击粘贴在文件夹地址上，并在文件名后面加上扩展名（<code>.html</code>、<code>.txt</code>、<code>.py</code> 等等）。</p><p>这将看起来类似于 <code>del C:\Users\user\folder-name\filename.extension</code>：</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/04/ss2.png" class="kg-image" alt="ss2" width="600" height="400" loading="lazy"></figure><p><strong>第 4 步：</strong>按 <code>ENTER</code> 键运行该命令，然后再次检查该文件夹，你应该不会再看到该文件：</p><figure class="kg-card kg-image-card"><img src="https://www.freecodecamp.org/news/content/images/2022/04/ss3.png" class="kg-image" alt="ss3" width="600" height="400" loading="lazy"></figure><h2 id="-"><strong>小结</strong></h2><p><code>del</code> 命令将删除一个文件，即使它在另一个程序中打开，但 MS Word 等办公程序除外。</p><p>因此，如果你仍然觉得很难强制删除一个文件，请确保它没有在其他程序中打开，特别是 Office 程序。</p><p>谢谢你阅读本文。</p> ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ Windows 电脑上如何使用 Alt 键加数字输出特殊符号 ]]>
                </title>
                <description>
                    <![CDATA[ 在 Windows 电脑上，你可以通过按住 ALT 键 - 键入数字 - 然后释放 ALT 键，来键入你所需的任何字符。 你可以键入很多键盘上可能没有相应按键的字符，例如欧洲语言的字母、ASCII 符号，甚至中文字符（汉字）。 如果你的键盘上的键卡住或丢失，这些 Alt 代码也很有用。 接下来，我将按类别细分整个 alt 键列表。这是一个完整的列表（请注意：这不包括来自非西欧语言的很多很多字符，否则，它就太长了）。 下面是一个漂亮的 ASCII 格式的表格，其中包含最常用的符号和字符。我花了一些时间整合所有这些东西，使它们看起来不错。 作为开发者，当我搜索这些代码时，我经常会得到基于图像的结果。视障人士无法访问这些代码，而且每个人都很难复制粘贴代码。   Alt Code   Symbol    ---------- --------    alt 1      ☺     ]]>
                </description>
                <link>https://www.freecodecamp.org/chinese/news/alt-codes-special-characters-keyboard-symbols-windows-list/</link>
                <guid isPermaLink="false">6010f5d65f61e30501b5c1ac</guid>
                
                    <category>
                        <![CDATA[ Windows ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ Chengjun.L ]]>
                </dc:creator>
                <pubDate>Wed, 27 Jan 2021 09:10:16 +0000</pubDate>
                <media:content url="https://chinese.freecodecamp.org/news/content/images/2021/01/photo-1573867975080-15a3d9445345.jpeg" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>在 Windows 电脑上，你可以通过按住 ALT 键 - 键入数字 - 然后释放 ALT 键，来键入你所需的任何字符。</p><p>你可以键入很多键盘上可能没有相应按键的字符，例如欧洲语言的字母、ASCII 符号，甚至中文字符（汉字）。</p><p>如果你的键盘上的键卡住或丢失，这些 Alt 代码也很有用。</p><p>接下来，我将按类别细分整个 alt 键列表。这是一个完整的列表（请注意：这不包括来自非西欧语言的很多很多字符，否则，它就太长了）。</p><p>下面是一个漂亮的 ASCII 格式的表格，其中包含最常用的符号和字符。我花了一些时间整合所有这些东西，使它们看起来不错。</p><p>作为开发者，当我搜索这些代码时，我经常会得到基于图像的结果。视障人士无法访问这些代码，而且每个人都很难复制粘贴代码。</p><pre><code>
  Alt Code   Symbol  
 ---------- -------- 
  alt 1      ☺       
  alt 2      ☻       
  alt 3      ♥       
  alt 4      ♦       
  alt 5      ♣       
  alt 6      ♠       
  alt 7      •       
  alt 8      ◘       
  alt 9      ○       
  alt 10     ◙       
  alt 11     ♂       
  alt 12     ♀       
  alt 13     ♪       
  alt 14     ♫       
  alt 15     ☼       
  alt 16     ►       
  alt 17     ◄       
  alt 18     ↕       
  alt 19     ‼       
  alt 20     ¶       
  alt 21     §       
  alt 22     ▬       
  alt 23     ↨       
  alt 24     ↑       
  alt 25     ↓       
  alt 26     →       
  alt 27     ←       
  alt 28     ∟       
  alt 29     ↔       
  alt 30     ▲       
  alt 31     ▼       
  alt 32             
  alt 33     !       
  alt 34     "       
  alt 35     #       
  alt 36     $       
  alt 37     %       
  alt 38     &amp;       
  alt 39     '       
  alt 40     (       
  alt 41     )       
  alt 42     *       
  alt 43     +       
  alt 44     ,       
  alt 45     -       
  alt 46     .       
  alt 47     /       
  alt 48     0       
  alt 49     1       
  alt 50     2       
  alt 51     3       
  alt 52     4       
  alt 53     5       
  alt 54     6       
  alt 55     7       
  alt 56     8       
  alt 57     9       
  alt 58     :       
  alt 59     ;       
  alt 60     &lt;       
  alt 61     =       
  alt 62     &gt;       
  alt 63     ?       
  alt 64     @       
  alt 65     A       
  alt 66     B       
  alt 67     C       
  alt 68     D       
  alt 69     E       
  alt 70     F       
  alt 71     G       
  alt 72     H       
  alt 73     I       
  alt 74     J       
  alt 75     K       
  alt 76     L       
  alt 77     M       
  alt 78     N       
  alt 79     O       
  alt 80     P       
  alt 81     Q       
  alt 82     R       
  alt 83     S       
  alt 84     T       
  alt 85     U       
  alt 86     V       
  alt 87     W       
  alt 88     X       
  alt 89     Y       
  alt 90     Z       
  alt 91     [       
  alt 91     [       
  alt 92     \       
  alt 92     \       
  alt 93     ]       
  alt 93     ]       
  alt 94     ^       
  alt 95     _       
  alt 96     `       
  alt 97     a       
  alt 98     b       
  alt 99     c       
  alt 100    d       
  alt 101    e       
  alt 102    f       
  alt 103    g       
  alt 104    h       
  alt 105    i       
  alt 106    j       
  alt 107    k       
  alt 108    l       
  alt 109    m       
  alt 110    n       
  alt 111    o       
  alt 112    p       
  alt 113    q       
  alt 114    r       
  alt 115    s       
  alt 116    t       
  alt 117    u       
  alt 118    v       
  alt 119    w       
  alt 120    x       
  alt 121    y       
  alt 122    z       
  alt 123    {       
  alt 124    |       
  alt 125    }       
  alt 126    ~       
  alt 127    ⌂       
  alt 155    ¢       
  alt 156    £       
  alt 157    ¥       
  alt 158    ₧       
  alt 159    ƒ       
  alt 164    ñ       
  alt 165    Ñ       
  alt 166    ª       
  alt 167    º       
  alt 168    ¿       
  alt 169    ®       
  alt 170    ¬       
  alt 171    ½       
  alt 172    ¼       
  alt 173    ¡       
  alt 174    «       
  alt 175    »       
  alt 176    ░       
  alt 177    ▒       
  alt 178    ▓       
  alt 179    │       
  alt 180    ┤       
  alt 181    ╡       
  alt 182    ╢       
  alt 183    ╖       
  alt 184    ╕       
  alt 185    ╣       
  alt 186    ║       
  alt 187    ╗       
  alt 188    ╝       
  alt 189    ╜       
  alt 190    ╛       
  alt 191    ┐       
  alt 192    └       
  alt 193    ┴       
  alt 194    ┬       
  alt 195    ├       
  alt 196    ─       
  alt 197    ┼       
  alt 198    ╞       
  alt 199    ╟       
  alt 200    ╚       
  alt 201    ╔       
  alt 202    ╩       
  alt 203    ╦       
  alt 204    ╠       
  alt 205    ═       
  alt 206    ╬       
  alt 207    ╧       
  alt 208    ╨       
  alt 209    ╤       
  alt 210    ╥       
  alt 211    ╙       
  alt 212    ╘       
  alt 213    ╒       
  alt 214    ╓       
  alt 215    ╫       
  alt 216    ╪       
  alt 217    ┘       
  alt 218    ┌       
  alt 219    █       
  alt 220    ▄       
  alt 221    ▌       
  alt 222    ▐       
  alt 223    ▀       
  alt 224    α       
  alt 225    ß       
  alt 226    Γ       
  alt 227    π       
  alt 228    Σ       
  alt 229    σ       
  alt 230    µ       
  alt 231    τ       
  alt 232    Φ       
  alt 233    Θ       
  alt 234    Ω       
  alt 235    δ       
  alt 236    ∞       
  alt 237    φ       
  alt 238    ε       
  alt 239    ∩       
  alt 240    ≡       
  alt 241    ±       
  alt 242    ≥       
  alt 243    ≤       
  alt 244    ⌠       
  alt 245    ⌡       
  alt 247    ≈       
  alt 248    °       
  alt 249    ·       
  alt 250    ·       
  alt 251    √       
  alt 252    ⁿ       
  alt 254    ■       
  alt 255            
  alt 0128   €       
  alt 0130   ‘       
  alt 0132   „       
  alt 0133   …       
  alt 0134   †       
  alt 0135   ‡       
  alt 0137   ‰       
  alt 0138   Š       
  alt 0139   ‹       
  alt 0140   Œ       
  alt 0142   Ž       
  alt 0145   ‘       
  alt 0146   ’       
  alt 0147   “       
  alt 0148   ”       
  alt 0151   —       
  alt 0153   ™       
  alt 0154   š       
  alt 0155   ›       
  alt 0156   œ       
  alt 0158   ž       
  alt 0159   Ÿ       
  alt 0164   ¤       
  alt 0166   ¦       
  alt 0168   ¨       
  alt 0169   ©       
  alt 0175   ¯       
  alt 0178   ²       
  alt 0179   ³       
  alt 0180   ´       
  alt 0183   ·       
  alt 0184   ¸       
  alt 0185   ¹       
  alt 0188   ¼       
  alt 0189   ½       
  alt 0190   ¾       
  alt 0192   À       
  alt 0193   Á       
  alt 0194   Â       
  alt 0195   Ã       
  alt 0196   Ä       
  alt 0197   Å       
  alt 0198   Æ       
  alt 0199   Ç       
  alt 0200   È       
  alt 0201   É       
  alt 0202   Ê       
  alt 0203   Ë       
  alt 0204   Ì       
  alt 0205   Í       
  alt 0206   Ï       
  alt 0207   Ï       
  alt 0208   Ð       
  alt 0210   Ò       
  alt 0211   Ó       
  alt 0212   Ô       
  alt 0213   Õ       
  alt 0214   Ö       
  alt 0215   ×       
  alt 0216   Ø       
  alt 0217   Ù       
  alt 0218   Ú       
  alt 0219   Û       
  alt 0220   Ü       
  alt 0221   Ý       
  alt 0222   Þ       
  alt 0223   ß       
  alt 0224   à       
  alt 0225   á       
  alt 0226   â       
  alt 0227   ã       
  alt 0228   ä       
  alt 0229   å       
  alt 0230   æ       
  alt 0231   ç       
  alt 0232   è       
  alt 0233   é       
  alt 0234   ê       
  alt 0235   ë       
  alt 0236   ì       
  alt 0237   í       
  alt 0238   î       
  alt 0239   ï       
  alt 0240   ð       
  alt 0242   ò       
  alt 0243   ó       
  alt 0244   ô       
  alt 0245   õ       
  alt 0246   ö       
  alt 0247   ÷       
  alt 0248   ø       
  alt 0249   ú       
  alt 0250   û       
  alt 0251   ü       
  alt 0252   ù       
  alt 0253   ý       
  alt 0254   þ       
  alt 0255   ÿ       </code></pre><p>好啦，现在我们将这个表拆分一下。</p><h1 id="emoji-alt-"><strong><strong>emoji</strong> 和 其他有趣字符的 <strong>Alt 代码</strong></strong></h1><p>前 31 个 alt 代码专用于有趣的字符，例如笑脸，箭头和其他常见符号：</p><pre><code> Alt Code   Symbol  
 ---------- -------- 
  alt 1      ☺       
  alt 2      ☻       
  alt 3      ♥       
  alt 4      ♦       
  alt 5      ♣       
  alt 6      ♠       
  alt 7      •       
  alt 8      ◘       
  alt 9      ○       
  alt 10     ◙       
  alt 11     ♂       
  alt 12     ♀       
  alt 13     ♪       
  alt 14     ♫       
  alt 15     ☼       
  alt 16     ►       
  alt 17     ◄       
  alt 18     ↕       
  alt 19     ‼       
  alt 20     ¶       
  alt 21     §       
  alt 22     ▬       
  alt 23     ↨       
  alt 24     ↑       
  alt 25     ↓       
  alt 26     →       
  alt 27     ←       
  alt 28     ∟       
  alt 29     ↔       
  alt 30     ▲       
  alt 31     ▼ </code></pre><h1 id="-alt-"><strong><strong>大写字母</strong>、小写字母、数字和键盘符号的 <strong>Alt 代码</strong></strong></h1><p>正如我之前提到的，你可以使用 Alt 代码来键入本来可以在键盘上键入的字符。如果你的键盘键无法操作，这将很有帮助。</p><p>Alt 代码 32 到 126 专用于这些键。是的，Alt 32 是空格字符。</p><pre><code> Alt Code   Symbol  
 ---------- --------
  alt 32             
  alt 33     !       
  alt 34     "       
  alt 35     #       
  alt 36     $       
  alt 37     %       
  alt 38     &amp;       
  alt 39     '       
  alt 40     (       
  alt 41     )       
  alt 42     *       
  alt 43     +       
  alt 44     ,       
  alt 45     -       
  alt 46     .       
  alt 47     /       
  alt 48     0       
  alt 49     1       
  alt 50     2       
  alt 51     3       
  alt 52     4       
  alt 53     5       
  alt 54     6       
  alt 55     7       
  alt 56     8       
  alt 57     9       
  alt 58     :       
  alt 59     ;       
  alt 60     &lt;       
  alt 61     =       
  alt 62     &gt;       
  alt 63     ?       
  alt 64     @       
  alt 65     A       
  alt 66     B       
  alt 67     C       
  alt 68     D       
  alt 69     E       
  alt 70     F       
  alt 71     G       
  alt 72     H       
  alt 73     I       
  alt 74     J       
  alt 75     K       
  alt 76     L       
  alt 77     M       
  alt 78     N       
  alt 79     O       
  alt 80     P       
  alt 81     Q       
  alt 82     R       
  alt 83     S       
  alt 84     T       
  alt 85     U       
  alt 86     V       
  alt 87     W       
  alt 88     X       
  alt 89     Y       
  alt 90     Z       
  alt 91     [       
  alt 91     [       
  alt 92     \       
  alt 92     \       
  alt 93     ]       
  alt 93     ]       
  alt 94     ^       
  alt 95     _       
  alt 96     `       
  alt 97     a       
  alt 98     b       
  alt 99     c       
  alt 100    d       
  alt 101    e       
  alt 102    f       
  alt 103    g       
  alt 104    h       
  alt 105    i       
  alt 106    j       
  alt 107    k       
  alt 108    l       
  alt 109    m       
  alt 110    n       
  alt 111    o       
  alt 112    p       
  alt 113    q       
  alt 114    r       
  alt 115    s       
  alt 116    t       
  alt 117    u       
  alt 118    v       
  alt 119    w       
  alt 120    x       
  alt 121    y       
  alt 122    z       
  alt 123    {       
  alt 124    |       
  alt 125    }       
  alt 126    ~    </code></pre><h1 id="-alt--1"><strong><strong>货币的</strong> <strong>Alt 代码</strong></strong></h1><p>下列 Alt 代码将重点放在货币上，同时还带有一些西班牙语特定的字符。如果你需要键入西班牙文 ñ 字母或输入颠倒的问号或感叹号，这些代码将很有帮助。</p><pre><code> Alt Code   Symbol  
 ---------- --------
  alt 127    ⌂       
  alt 155    ¢       
  alt 156    £       
  alt 157    ¥       
  alt 158    ₧       
  alt 159    ƒ       
  alt 164    ñ       
  alt 165    Ñ       
  alt 166    ª       
  alt 167    º       
  alt 168    ¿       
  alt 169    ®       
  alt 170    ¬       
  alt 171    ½       
  alt 172    ¼       
  alt 173    ¡       
  alt 174    «       
  alt 175    »       </code></pre><h2 id="ascii-ascii-art-alt-"><strong><strong>ASCII</strong> 码（制作命令行和<strong>ASCII Art</strong>）的 <strong>Alt 代码</strong></strong></h2><p>这是我最喜欢的部分——你可以使用许多 ASCII 码制作命令行菜单和 ASCII art。</p><figure class="kg-card kg-image-card kg-width-wide kg-card-hascaption"><img src="https://www.freecodecamp.org/news/content/images/2020/05/Dvg7i.png" class="kg-image" alt="Dvg7i" width="600" height="400" loading="lazy"><figcaption>视频游戏 Dwarf Fortress 的截图，这是一个完全由 ASCII 码制成的图像</figcaption></figure><pre><code> Alt Code   Symbol  
 ---------- --------
  alt 176    ░       
  alt 177    ▒       
  alt 178    ▓       
  alt 179    │       
  alt 180    ┤       
  alt 181    ╡       
  alt 182    ╢       
  alt 183    ╖       
  alt 184    ╕       
  alt 185    ╣       
  alt 186    ║       
  alt 187    ╗       
  alt 188    ╝       
  alt 189    ╜       
  alt 190    ╛       
  alt 191    ┐       
  alt 192    └       
  alt 193    ┴       
  alt 194    ┬       
  alt 195    ├       
  alt 196    ─       
  alt 197    ┼       
  alt 198    ╞       
  alt 199    ╟       
  alt 200    ╚       
  alt 201    ╔       
  alt 202    ╩       
  alt 203    ╦       
  alt 204    ╠       
  alt 205    ═       
  alt 206    ╬       
  alt 207    ╧       
  alt 208    ╨       
  alt 209    ╤       
  alt 210    ╥       
  alt 211    ╙       
  alt 212    ╘       
  alt 213    ╒       
  alt 214    ╓       
  alt 215    ╫       
  alt 216    ╪       
  alt 217    ┘       
  alt 218    ┌       
  alt 219    █       
  alt 220    ▄       
  alt 221    ▌       
  alt 222    ▐       
  alt 223    ▀       
</code></pre><h2 id="-alt--2"><strong><strong>数学符号和其他非英文字符的</strong> <strong>Alt 码</strong></strong></h2><p>当然，你可以使用 alt 码键入希腊字母。这对于在需要键入数学格式的情况非常有用。对于任何真正繁重的工作，你可能想要使用 TeX 之类的东西。但是如果你只是想通过即时消息发送数学表达式，则可以使用这些代码。</p><pre><code> Alt Code   Symbol  
 ---------- --------
  alt 224    α       
  alt 225    ß       
  alt 226    Γ       
  alt 227    π       
  alt 228    Σ       
  alt 229    σ       
  alt 230    µ       
  alt 231    τ       
  alt 232    Φ       
  alt 233    Θ       
  alt 234    Ω       
  alt 235    δ       
  alt 236    ∞       
  alt 237    φ       
  alt 238    ε       
  alt 239    ∩       
  alt 240    ≡       
  alt 241    ±       
  alt 242    ≥       
  alt 243    ≤       
  alt 244    ⌠       
  alt 245    ⌡       
  alt 247    ≈       
  alt 248    °       
  alt 249    ·       
  alt 250    ·       
  alt 251    √       
  alt 252    ⁿ       
  alt 254    ■       
  alt 255            
  alt 0128   €       
  alt 0130   ‘       
  alt 0132   „       
  alt 0133   …       
  alt 0134   †       
  alt 0135   ‡       
  alt 0137   ‰       
  alt 0138   Š       
  alt 0139   ‹       
  alt 0140   Œ       
  alt 0142   Ž       
  alt 0145   ‘       
  alt 0146   ’       
  alt 0147   “       
  alt 0148   ”       
  alt 0151   —       
  alt 0153   ™       
  alt 0154   š       
  alt 0155   ›       
  alt 0156   œ       
  alt 0158   ž       
  alt 0159   Ÿ       
  alt 0164   ¤       
  alt 0166   ¦       
  alt 0168   ¨       
  alt 0169   ©       
  alt 0175   ¯       
  alt 0178   ²       
  alt 0179   ³       
  alt 0180   ´       
  alt 0183   ·       
  alt 0184   ¸       
  alt 0185   ¹       
  alt 0188   ¼       
  alt 0189   ½       
  alt 0190   ¾       
  alt 0192   À       
  alt 0193   Á       
  alt 0194   Â       
  alt 0195   Ã       
  alt 0196   Ä       
  alt 0197   Å       
  alt 0198   Æ       
  alt 0199   Ç       
  alt 0200   È       
  alt 0201   É       
  alt 0202   Ê       
  alt 0203   Ë       
  alt 0204   Ì       
  alt 0205   Í       
  alt 0206   Ï       
  alt 0207   Ï       
  alt 0208   Ð       
  alt 0210   Ò       
  alt 0211   Ó       
  alt 0212   Ô       
  alt 0213   Õ       
  alt 0214   Ö       
  alt 0215   ×       
  alt 0216   Ø       
  alt 0217   Ù       
  alt 0218   Ú       
  alt 0219   Û       
  alt 0220   Ü       
  alt 0221   Ý       
  alt 0222   Þ       
  alt 0223   ß       
  alt 0224   à       
  alt 0225   á       
  alt 0226   â       
  alt 0227   ã       
  alt 0228   ä       
  alt 0229   å       
  alt 0230   æ       
  alt 0231   ç       
  alt 0232   è       
  alt 0233   é       
  alt 0234   ê       
  alt 0235   ë       
  alt 0236   ì       
  alt 0237   í       
  alt 0238   î       
  alt 0239   ï       
  alt 0240   ð       
  alt 0242   ò       
  alt 0243   ó       
  alt 0244   ô       
  alt 0245   õ       
  alt 0246   ö       
  alt 0247   ÷       
  alt 0248   ø       
  alt 0249   ú       
  alt 0250   û       
  alt 0251   ü       
  alt 0252   ù       
  alt 0253   ý       
  alt 0254   þ       
  alt 0255   ÿ       </code></pre><h2 id="-alt--3"><strong><strong>谢谢阅读这份 Alt 代码指南</strong></strong></h2><p>我希望这份小备忘单对你有所帮助。如果有帮助，你可以在自己的文章中链接到它，并与你的朋友分享，以便更多的人可以从中受益。</p><p>原文：<a href="https://www.freecodecamp.org/news/alt-codes-special-characters-keyboard-symbols-windows-list/">Alt Codes – How to Type Special Characters and Keyboard Symbols on Windows Using the Alt Keys</a>，作者：<a href="https://www.freecodecamp.org/news/author/quincylarson/">Quincy Larson</a></p> ]]>
                </content:encoded>
            </item>
        
            <item>
                <title>
                    <![CDATA[ Windows 电脑截屏方法 ]]>
                </title>
                <description>
                    <![CDATA[ 前言 Windows10 有两种内置的截屏方法，两种方法都是快捷、方便、易记的。 首先，方法非常简单，可以在任何时候通过键盘访问。 方法一：在键盘上按下 Print Screen 键，就会看到整个电脑的屏幕截图 如果你按下打印屏幕键，Windows 就会截取一个屏幕快照，并默认保存到你的 Microsoft OneDrive 帐户。 你可以使用 Windows FileExplorer，在 OneDrive 中浏览 Pictures 文件夹中的 Screenshots 文件夹，打开所有用 Print Screen 键拍摄的屏幕截图。 这些内容也会存储在 OneDrive>Pictures>Screenshots 中。 我的截屏示例我的截屏示例但使用 Print Screen 键是一个比较笨拙的方法。这将捕捉你的整个画面。因为隐私的原因，你可能不想这么做。 此外，一些手提电脑的键盘上甚至没有 Print Screen 键。 幸好，Windows 还有一个更强大的内置屏幕截图工具，叫作 Snip&Sketch。这会给你带来很多灵活性。 方法二：如何使用 Windows Sn ]]>
                </description>
                <link>https://www.freecodecamp.org/chinese/news/how-to-screenshot-on-windows/</link>
                <guid isPermaLink="false">5f748f71027c3105323f570f</guid>
                
                    <category>
                        <![CDATA[ Windows ]]>
                    </category>
                
                    <category>
                        <![CDATA[ 技能 ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ freeCodeCamp.org ]]>
                </dc:creator>
                <pubDate>Wed, 30 Sep 2020 14:36:10 +0000</pubDate>
                <media:content url="https://chinese.freecodecamp.org/news/content/images/2020/09/photo-1480365501497-199581be0e66-1.jpeg" medium="image" />
                <content:encoded>
                    <![CDATA[ <h2 id="-">前言</h2><p>Windows10 有两种内置的截屏方法，两种方法都是快捷、方便、易记的。</p><p>首先，方法非常简单，可以在任何时候通过键盘访问。</p><h2 id="-print-screen-">方法一：在键盘上按下 Print Screen 键，就会看到整个电脑的屏幕截图</h2><p>如果你按下打印屏幕键，Windows 就会截取一个屏幕快照，并默认保存到你的 Microsoft OneDrive 帐户。</p><p>你可以使用 Windows FileExplorer，在 OneDrive 中浏览 Pictures 文件夹中的 Screenshots 文件夹，打开所有用 Print Screen 键拍摄的屏幕截图。</p><p>这些内容也会存储在 OneDrive&gt;Pictures&gt;Screenshots 中。</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://chinese.freecodecamp.org/news/content/images/2020/10/image.png" class="kg-image" alt="image" width="1920" height="1080" loading="lazy"><figcaption>我的截屏示例</figcaption></figure><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://chinese.freecodecamp.org/news/content/images/2020/10/image.png" class="kg-image" alt="image" width="1920" height="1080" loading="lazy"><figcaption>我的截屏示例</figcaption></figure><p>但使用 Print Screen 键是一个比较笨拙的方法。这将捕捉你的整个画面。因为隐私的原因，你可能不想这么做。</p><p>此外，一些手提电脑的键盘上甚至没有 Print Screen 键。</p><p>幸好，Windows 还有一个更强大的内置屏幕截图工具，叫作 Snip&amp;Sketch。这会给你带来很多灵活性。</p><h2 id="-windows-snippingtool-snipsketch-pc-">方法二：如何使用 Windows SnippingTool（也叫 Snip&amp;Sketch）获取部分 PC 屏幕截图</h2><p>这是一个内建的截图工具，非常强大。</p><p>你可以通过按下 Windows 键，然后输入快照工具，在你的搜索栏里打开它。</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://chinese.freecodecamp.org/news/content/images/2020/09/image-11.png" class="kg-image" alt="image-11" width="1920" height="1080" loading="lazy"><figcaption>Microsoft 正在将 Snipping Tool 从“一个点和单击”改到一个热键</figcaption></figure><p>一次按下三个键，你就可以把 Windows 放到一个特殊的屏幕快照模式下，在那里你可以选择你想捕捉的任何部分。</p><p>在启动此模式时，按下 3 个键：Windows + Shift + S。</p><p>按下这些按钮将显示以下内容：</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://chinese.freecodecamp.org/news/content/images/2020/09/image-13.png" class="kg-image" alt="image-13" width="1536" height="1152" loading="lazy"><figcaption>注意那个小小的十字准线，以及我所选区域之外的所有东西都变暗了（是的，我不得不用手机拍摄这张照片。这是我想到的对截图过程进行拍照的最佳方式😅 ）</figcaption></figure><p>如果同时按下 Windows+Shift+S，整个屏幕会变暗。你可以用鼠标左键拖拽你的游标，现在就把它做成一个十字准线的形状。</p><p>所选的屏幕区域将比其余区域更亮。</p><p>当你选择了你想要截图的东西时，你只需要松开这些键。好啦，你已经截屏了，方便吧？</p><p>通过 Microsoft 新的 Snip&amp;Sketch 工具，你甚至可以绘制屏幕快照来进一步对它们进行标记。</p><p>那么，Windows 将在哪里存储这些屏幕截图？</p><p>不像打印屏幕键方法，默认情况下，Windows 会将下列屏幕快照保存到 Pictures 文件夹：我的电脑&gt;Pictures。</p><p>你可以用 Windows FileExplorer 来访问他们。</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://chinese.freecodecamp.org/news/content/images/2020/09/image-15.png" class="kg-image" alt="image-15" width="1920" height="1080" loading="lazy"><figcaption>用 Snipping Tool 存储图片之后，你可以用 Microsoft File Explorer 打开图片，截屏默认保存在 Pictures 文件夹中</figcaption></figure><h2 id="windows-snipsketch-pc-">Windows Snip&amp;Sketch 使得 PC 快照变得简单</h2><p>我个人很欣赏 Microsoft 简化了这一过程。在 Mac 和 Linux 的世界中，没有任何工具能够很好地适应这些操作系统。</p><p>谢谢你读这篇文章。我自己一天要拍几十个截屏。希望你也能采用这种方便的方法来收集信息，并与他人迅速地分享。截屏是一种快速沟通的好方法。</p><p>Happy coding!</p><p>原文：<a href="https://www.freecodecamp.org/news/how-to-screenshot-on-windows/">How to Screenshot on Windows – Screenshot on PC Tutorial</a>，作者：Quincy Larson</p> ]]>
                </content:encoded>
            </item>
        
    </channel>
</rss>
