CNode

which LTS to install? 4.6.1 or 6.9.1 ?

问答
Ffeitian124发布于10 年前最后回复10 年前11 回复6567 浏览0 收藏

I installed an new ubuntu(so no chinese input...) then find that there are 2 LTS version of nodejs. what's the main difference? And which one i should install? i mainly want to learn "small wechat app" and "vuejs 2.0".. thank you.

查看回复

回复 (11)

F
feitian124#1·10 年前
F
feitian124#2·10 年前

it is really confusing that there are 2 LTS version...

I
i5ting#3·10 年前

Screen Shot 2016-10-21 at 1.24.39 PM.png

I
i5ting#4·10 年前

recommended懂了么?

W
wssgcg1213#5·10 年前

我建议直接上6吧

C
CoderIvan#6·10 年前

还真没太大关系,如果喜欢用ES6语法的话,就用v6吧

X
xcatliu#7·10 年前

@feitian124 It's common that a software has more than one LTS versions. Ubuntu also has lots of LTS versions: https://wiki.ubuntu.com/Releases

It's obvious that the main difference is v6.9.1 has more features than v4.6.1

I would recommend v6.9.1 since it becomes a LTS version.

Also, you can checkout the LTS end date for v4 and v6: https://github.com/nodejs/LTS#lts-schedule

F
feitian124#8·10 年前

thank you all, i will try 6.9.1. "I would recommend v6.9.1 since it becomes a LTS version."

S
stuartZhang#9·10 年前

nodejs@6.x上,node-inspector工作不稳定,看这个issue: https://github.com/node-inspector/node-inspector/issues/907 考虑到《"node --inspect=<端口号>" + Chrome Dev Tool>还是处于Experimental阶段(请见:https://nodejs.org/api/debugger.html#debugger_v8_inspector_integration_for_node_js ) ,我推荐使用nodejs@4.x

S
Soontao#10·10 年前

在6.x sequelize有些莫名其妙的问题 不知道现在修复没有 推荐4.x

H
haozxuan#11·10 年前

如果用node做服务端,推荐V4, 如果用node做前端,不用我推荐,前端都是喜新厌旧的人。。。

参与回复
登录后即可参与回复。登录