Use 'read' built-in instead of $(cat ... | head -n1)
Use 'read' built-in instead of $(cat ... | head -n1)

tlevine/nvm,cirosantilli/nvm,pmq20/nvm,evocateur/nvm,hanhailong/nvm,woss/nvm,reybango/nvm,joneit/nvm,evocateur/nvm,greyhwndz/nvm,psychoss/nvm,wskplho/nvm,vinaykaradia/clone-nvm,JanChw/nvm,creationix/nvm,wahyutaufik/nvm,williamboman/nvm,cjac/nvm,parasaro92/nvm,LeeLovCY/nvm,DigitallySeamless/nvm,Kuzirashi/nvm,williamboman/nvm,joneit/nvm,PeterDaveHello/nvm,elrasguno/nvm,Salahudeen/nvm,owen-it/nvm,icyflame/nvm,CristianCantoro/nvm,PeterDaveHelloKitchen/nvm,jaawerth/nvm,psychoss/nvm,tlevine/nvm,domenicosolazzo/nvm,vinaykaradia/clone-nvm,owen-it/nvm,WY08271/nvm,domenicosolazzo/nvm,bbuck/nvm,reybango/nvm,egilkh/nvm,wahyutaufik/nvm,greyhwndz/nvm,IonicaBizauKitchen/nvm,christophercaburog/nvm,jhliberty/nvm,cnpm/nvm,NicCollins/nvm,egilkh/nvm,icyflame/nvm,SampleLiao/nvm,cnpm/nvm,lukechilds/nvm,JasonChrYoung/nvm,creationix/nvm,michael-ni/nvm,jaawerth/nvm,diegofcb10/nvm,wskplho/nvm,woss/nvm,devedbox/nvm,dfackler/nvm,nontage24/nvm,gtdeng/nvm,diegofcb10/nvm,misterdjules/nvm,slariviere/nvm,christophercaburog/nvm,slariviere/nvm,Richardphp/nvm,edwmurph/nvm,youleiy/nvm,michael-ni/nvm,gtdeng/nvm,cjac/nvm,devedbox/nvm,Richardphp/nvm,fnogatz/swivm,tianzhihen/nvm,hanhailong/nvm,sjfkai/nvm,chinazhaghai/nvm,Theodeus/nvm,cirosantilli/nvm,chinazhaghai/nvm,modulexcite/nvm,thomasf/nvm,kumaria/nvm,JasonChrYoung/nvm,JanChw/nvm,Kuzirashi/nvm,jhliberty/nvm,hkdobrev/nvm,tianzhihen/nvm,scq000/nvm,CristianCantoro/nvm,nontage24/nvm,misterdjules/nvm,mirydz/nvm,scq000/nvm,thomasf/nvm,jbergstroem/nvm,parasaro92/nvm,bbuck/nvm,WY08271/nvm,mirydz/nvm,kumaria/nvm,SampleLiao/nvm,youleiy/nvm,mmorejon/nvm,jbergstroem/nvm,kmctown/nvm,elrasguno/nvm,Ingelheim/nvm,ljharb/nvm,kmctown/nvm,bevacqua/nvm,modulexcite/nvm,Ingelheim/nvm,PeterDaveHelloKitchen/nvm,LeeLovCY/nvm,pmq20/nvm,Salahudeen/nvm,edwmurph/nvm,PeterDaveHello/nvm,dfackler/nvm,hkdobrev/nvm,bevacqua/nvm,mmorejon/nvm,DigitallySeamless/nvm,ljharb/nvm,IonicaBizauKitchen/nvm,Theodeus/nvm,lukechilds/nvm