{"version":"1.0","type":"rich","title":"Install node on Apple Silicon M1 both ARM and x86 (Rosetta)","description":"This example shows how to install Node.js on Apple Silicon M1 for both native ARM and emulated x86 (Rosetta) architectures using nvm, the Node Version Manager. It demonstrates running `nvm install` from separate native and Rosetta terminals to obtain distinct Node versions, then verifies each installation with `process.arch` output. The code includes shell commands that query the architecture via `arch` and assign aliases (`arm`, `intel`) for convenient switching between versions. The data source is a gist with four shell scripts and a README.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-c4714f3b5ba060ceeaa5e855bb254bc5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}