bash: rebar:未找到命令...

将rebar文件夹复制到系统目录库下

[root@localhost ERL_LIBS_FILE]# cp rebar -rf /usr/local/bin

编辑etc/profile并添加其路径

[root@localhost ~]# gedit /etc/profile

在文件中添加如下代码:

export PATH=$PATH:/usr/local/bin/rebar

然后在shell命令中输入rebar -c进行测试

[root@localhost ERL_LIBS_FILE]# rebar -c




本文出自 “DOSOM” 博客,谢绝转载!

你可能感兴趣的:(bash:,rebar:未找到命令...)