Node.js
Update packages
Section titled “Update packages”npm outdatednpm update
# or with npm-check-updatesnpx npm-check-updates --interactive --target=minor
# Install asdf
# Add Node.js pluginasdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
# Install versionasdf install nodejs latestasdf install nodejs 14.19.1
# Set versionasdf global nodejs 14.19.1
# Yarnasdf plugin add yarn https://github.com/twuni/asdf-yarn.gitasdf install yarn 1.22.18asdf global yarn 1.22.18echo 'export PATH=$PATH:$(yarn global bin)' >> /home/petteri/.zsh_work
Install
Section titled “Install”curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
Set default version
Section titled “Set default version”nvm alias default lts/fermium
Other setup
Section titled “Other setup”# Install yarn and lernanpm i -g yarn lerna