Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 884 Bytes

File metadata and controls

45 lines (31 loc) · 884 Bytes

Setup asdf

  • Install curl and git

    sudo apt install curl git
  • Clone asdf

    git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.10.2
  • Add into .bashrc

    . $HOME/.asdf/asdf.sh
    . $HOME/.asdf/completions/asdf.bash
  • Install node plugin on asdf

        asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
        asdf install nodejs 20.9.0 # change version here
  • List plugins added

        asdf plugin list
  • List Nodejs Last Versions

    asdf nodejs update-nodebuild
    
    asdf nodejs resolve lts --latest-installed
  • References: