本文介绍了如何永久设置 Windows 环境变量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何永久设置 Windows 环境变量,我看到当您关闭命令窗口时,Windows 环境变量会被重置.我想永久设置它们,这样我就不必每次使用 CLI 时都重复该任务.

How do I set Windows Environment variables permanently, I see that the Windows environment variables are reset when you close the command window. I want to set them permanently so that I don't have to repeat the task every time I use CLI.

推荐答案

右击计算机,高级系统设置,选择高级选项卡,点击环境变量.

Right click on Computer, Advanced system settings, select Advanced tab and click Environment variables.

注意:修改环境变量后,您必须重新启动应用程序,包括 CLI.

Note: once you modify the environment variables, you will have to restart your applications, including CLI.

这篇关于如何永久设置 Windows 环境变量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-20 00:59