Skip to content

Instantly share code, notes, and snippets.

@chsasank
Last active June 11, 2021 11:30
Show Gist options
  • Select an option

  • Save chsasank/486d53f8d2a867fbae9478b947f12398 to your computer and use it in GitHub Desktop.

Select an option

Save chsasank/486d53f8d2a867fbae9478b947f12398 to your computer and use it in GitHub Desktop.

Revisions

  1. Sasank Chilamkurthy revised this gist Jun 11, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install_node_m1.md
    Original file line number Diff line number Diff line change
    @@ -4,4 +4,4 @@
    3. Add the stuff from the above command to zshrc to initialize nvm
    3. Go to x86 shell by `arch -x86_64 zsh`
    5. Install lts node using nvm in the intel shell: `nvm install --lts`
    6. Enjoy it in all shells
    6. Enjoy node in all shells (x86 or arm)
  2. Sasank Chilamkurthy revised this gist Jun 11, 2021. 1 changed file with 6 additions and 2 deletions.
    8 changes: 6 additions & 2 deletions install_node_m1.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,7 @@
    1. Install rosetta2
    2.
    3. Go to x86 shell by `arch -x86_64 zsh`
    2. Install NVM using instructions [here](https://github.com/nvm-sh/nvm#installing-and-updating) `curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
    `
    3. Add the stuff from the above command to zshrc to initialize nvm
    3. Go to x86 shell by `arch -x86_64 zsh`
    5. Install lts node using nvm in the intel shell: `nvm install --lts`
    6. Enjoy it in all shells
  3. Sasank Chilamkurthy created this gist Jun 11, 2021.
    3 changes: 3 additions & 0 deletions install_node_m1.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    1. Install rosetta2
    2.
    3. Go to x86 shell by `arch -x86_64 zsh`