windows - 在 Windows 上安装 APM 的完整指南

标签 windows installation atom-editor

目前,我正在研究 ReactJS Atom Editor我想试试 ATOM REACT PLUGIN .对于安装,它要求我使用命令 apm install react 但 Windows CMD 无法识别 apm。在网上搜索了一下,似乎在Mac上调用apm命令很简单。但在 Windows 上并不简单。是否有在 Windows 中安装 apm 的分步安装指南?

在 Mac 上安装 Shell 命令: enter image description here

在 Windows 版本中,我找不到它: enter image description here

最佳答案

将其添加到系统路径环境变量中。

- `Win + R: then type %localappdata%` 
  • 转到 Atom > app-(atom 版本)> resources > app > apm > bin

    复制整个路径,打开系统路径环境设置窗口。 追加到最后并确认。重启控制台(命令提示符或gitbash)

    这适用于每个命令行界面,如果您想知道可执行文件的位置,请使用 where 命令。

    - 哪里apm

    - 所在节点

礼貌:- https://github.com/atom/apm/issues/381#issuecomment-126911491

关于windows - 在 Windows 上安装 APM 的完整指南,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38138900/

相关文章:

windows - 使用 powershell 和 cmd 创建带有定义的 .h 文件

css - 更改原子编辑器的光标样式

node.js - Windows Electron 安装程序

windows批处理FOR循环查找文件夹

c++ - 两行 Xerces 程序中的异常

c# - 制作C#项目安装包

QT creator 安装错误? - 雪豹

linux - 我可以在共享主机服务器上安装 git 吗?

python - 在 Atom 中出现错误,但如果我将其复制粘贴到 Jupyter 中则不会出现错误

c++ - 在 windows 中使用互斥量进行进程间同步(win32 或 C++)