如何从 windows 中的目录中 运行 atom

How to run atom from a directory in windows

我想从一个目录打开 Atom 编辑器,就像我使用 VS 代码或 git bash 如图所示

为此,您需要将 atom 添加到您的系统路径中。 为此,

1) 打开 运行 对话框 (win + r),键入“SystemPropertiesAdvanced.exe”并按回车键。在这里你应该select“环境变量...”并为你的用户编辑路径。

2)Select 并编辑变量路径复制在环境变量中添加此命令C:\Users\<username>\AppData\Local\atom\bin

3)现在在所需目录中打开 git bash 和 运行 atom.1 .