Skip to content

Instantly share code, notes, and snippets.

@stargt
Forked from MeLlamoPablo/nvmlink
Created November 29, 2022 09:43
Show Gist options
  • Select an option

  • Save stargt/1f6dd09dfbf14ad08ef66a936a872bf4 to your computer and use it in GitHub Desktop.

Select an option

Save stargt/1f6dd09dfbf14ad08ef66a936a872bf4 to your computer and use it in GitHub Desktop.

Revisions

  1. @MeLlamoPablo MeLlamoPablo created this gist Feb 1, 2017.
    6 changes: 6 additions & 0 deletions nvmlink
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    #!/usr/bin/env zsh

    sudo rm -f /usr/bin/node
    sudo rm -f /usr/bin/npm
    sudo ln -s $(which node) /usr/bin/
    sudo ln -s $(which npm) /usr/bin/