<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>node.js &#8211; SMsoft &#8211; informatica e dintorni</title>
	<atom:link href="https://blog.smsoft.it/tag/node-js/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.smsoft.it</link>
	<description>consigli settimanali su MacOS, GNU/Linux ed Open Source</description>
	<lastBuildDate>Tue, 04 Sep 2018 08:30:33 +0000</lastBuildDate>
	<language>it-IT</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=75355</generator>
	<item>
		<title>MacOS: Scegliere quale versione di node.js utilizzare</title>
		<link>https://blog.smsoft.it/2018/09/04/macos-scegliere-quale-versione-di-node-js-utilizzare/</link>
					<comments>https://blog.smsoft.it/2018/09/04/macos-scegliere-quale-versione-di-node-js-utilizzare/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 04 Sep 2018 08:30:33 +0000</pubDate>
				<category><![CDATA[MacOS]]></category>
		<category><![CDATA[brew]]></category>
		<category><![CDATA[node]]></category>
		<category><![CDATA[node.js]]></category>
		<category><![CDATA[nodebrew]]></category>
		<guid isPermaLink="false">https://blog.smsoft.it/?p=4073</guid>

					<description><![CDATA[MacOS consente di installare molto software tramite l&#8217;utility HomeBrew. HomeBrew si può installare dal terminale con: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Tra i vari pacchetti disponibili su HomeBrew c&#8217;è anche NodeBrew che consente di installare più versioni di node.js e scegliere quale usare al momento. L&#8217;installazione di NodeBrew è velocissima: brew install nodebrew ed altrettanto ... <a title="MacOS: Scegliere quale versione di node.js utilizzare" class="read-more" href="https://blog.smsoft.it/2018/09/04/macos-scegliere-quale-versione-di-node-js-utilizzare/" aria-label="Per saperne di più su MacOS: Scegliere quale versione di node.js utilizzare">Leggi tutto</a>]]></description>
										<content:encoded><![CDATA[<p>MacOS consente di installare molto software tramite l&#8217;utility <a href="https://brew.sh/" rel="noopener noreferrer" target="_blank">HomeBrew</a>. </p>
<p>HomeBrew si può installare dal terminale con:<br />
<code>/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"</code></p>
<p>Tra i vari pacchetti disponibili su HomeBrew c&#8217;è anche <a href="https://github.com/hokaccha/nodebrew" rel="noopener noreferrer" target="_blank">NodeBrew</a> che consente di installare più versioni di node.js e scegliere quale usare al momento. L&#8217;installazione di NodeBrew è velocissima:<br />
<code>brew install nodebrew</code></p>
<p>ed altrettanto facilmente si potrà usare NodeBrew per installare o scegliere una differente versione di node.js da utilizzare.</p>
<p>Alcuni esempi per l&#8217;installazione di una differente versione:<br />
<code>$ nodebrew install v8.9.4</p>
<p># oppure<br />
$ nodebrew install latest # ultima versione<br />
$ nodebrew install stable # versione stabile<br />
$ nodebrew install v8.9   # ultima della serie v8.9<br />
$ nodebrew install 8.9.4  # senza <code>v</code> si sceglie l'esatta versione</code></p>
<p>Per eventualmente ricolpilare il pacchetto:<br />
<code>nodebrew compile v8.9.4</code><br />
oppure<br />
<code>nodebrew compile v8.9.4 --v8-options=--harmony</code></p>
<p>Per vedere le versioni installate:<br />
<code>$ nodebrew ls<br />
v8.9.9<br />
v8.9.4</p>
<p>current: v8.9.4</code></p>
<p>Per vedere le versioni disponibili nel repository remoto:<br />
<code>$ nodebrew ls-remote<br />
v0.0.1    v0.0.2    v0.0.3    v0.0.4    v0.0.5    v0.0.6<br />
...</code></p>
<p>Per scegliere la versione da usare:<code><br />
$ nodebrew use v8.9.4<br />
$ node -v<br />
v8.9.4</p>
<p># opure<br />
$ nodebrew use latest # ultima versione<br />
$ nodebrew use stable # versione stabile<br />
$ nodebrew use v8.9   # ultima della rie v8.9<br />
$ nodebrew use 8.9.4  # senza <code>v</code> si sceglie l'esatta versione</code></p>
<p>enjoy!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.smsoft.it/2018/09/04/macos-scegliere-quale-versione-di-node-js-utilizzare/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
