昨天重装了一下fedora 23, 按照步骤装nvm(https://github.com/creationix/nvm)后,然后nvm ls-remote,哪知它打印出iojs就完事了:

后来在nvm的issue里面发现好几个issue都是关于这个的,原因在于ssl证书没有升级:

通过nvm_download -L $NVM_NODEJS_ORG_MIRROR/ --verbose -o - 可以查看到相应的报错信息。

目前我的办法是更改$NVM_NODEJS_ORG_MIRROR到 http://nodejs.org/dist, 在~/.bashrc最后加入:
export NVM_NODEJS_ORG_MIRROR=http://nodejs.org/dist
改完后,nvm ls-remote成功:

然而,当我开始安装最新的node版本时,却显示Installing node v1.0 and greater from source is not currently supported :

一开始看到提示以为是不支持v1.0以上的源码安装(nvm下也的确有这样的issue,而且讨论出来的结果是要回滚到某个版本),想想觉得不对,我前几天在公司装的时候并没有报错,猜测是网络问题,于是又将$NVM_NODEJS_ORG_MIRROR更改到 https://npm.taobao.org/dist:
export NVM_NODEJS_ORG_MIRROR=https://npm.taobao.org/dist
everything works fine...
仅此做个备忘记录。