WSL2에서 node 설치
IyBXU0wy7JeQ7ISc7J2YIG5vZGUg7ISk7LmYCiMKIyBub2RlIOyEpOy5mApzdWRvIGFwdCB1cGRhdGUKc3VkbyBhcHQgaW5zdGFsbCBub2RlanMKCiMgbm9kZSDrsoTsoITsnbQg64Ku7JWE7IScIOy1nOyLoCDshKTsuZguCnN1ZG8gbnBtIGNhY2hlIGNsZWFuIC1mCnN1ZG8gbnBtIGluc3RhbGwgLWcgbgpzdWRvIG4gc3RhYmxlCgojIG5vZGUg7IKt7KCcCnN1ZG8gYXB0IHJlbW92ZSBub2RlanMKCiMgbm9kZSBsdHMg7ISk7LmYCm52bSBpbnN0YWxsIC0tbHRzCgojIG52bSDsl4bslrTshJwgbnZtIOyEpOy5mC4Kc3VkbyBhcHQgaW5zdGFsbCBidWlsZC1lc3NlbnRpYWwgbGlic3NsLWRldgpjdXJsIC1vLSBodHRwczovL3Jhdy5naXRodWJ1c2VyY29udGVudC5jb20vbnZtLXNoL252bS92MC4zNS4xL2luc3RhbGwuc2ggfCBiYXNoCm52bSBscwoKIyBudm0g7JWI65CY7IScIO2EsOuvuOuEkCDri6Tsi5wg7KCR7IaNCmV4aXQKCiMgbnZtIOuQmOyEnCBsdHPsmYAgMTYuMTcuMSDshKTsuZgKbnZtIGxzCm52bSBpbnN0YWxsIC0tbHRzCm52bSBscwpudm0gaW5zdGFsbCAxNi4xNy4x
# WSL2에서의 node 설치
#
# node 설치
sudo apt update
sudo apt install nodejs
# node 버전이 낮아서 최신 설치.
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
# node 삭제
sudo apt remove nodejs
# node lts 설치
nvm install --lts
# nvm 없어서 nvm 설치.
sudo apt install build-essential libssl-dev
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.1/install.sh | bash
nvm ls
# nvm 안되서 터미널 다시 접속
exit
# nvm 되서 lts와 16.17.1 설치
nvm ls
nvm install --lts
nvm ls
nvm install 16.17.1