Ubuntu22.04 lts に上げた時のやったことメモ

 / #メモ

メモ

WSL 用の環境を Ubuntu 22.04 LTS に上げたときのやったことを雑にメモ書き。因みに Ubuntu 自体は Windows Store から DL した。

github 設定

git config --global user.name "username"
git config --global user.email "email"
git config --global --list
ls -al ~/.ssh
# =>
# id_rsa.pub
# id_ecdsa.pub
# id_ed25519.pub
ssh-keygen -t ed25519 -C "email"
cat ~/.ssh/id_ed25519.pub
# => copy and past

npm and yarn

sudo apt install -y nodejs npm
sudo npm i -g n
sudo n stable
sudo apt purge -y nodejs npm
exec $SHELL -l
node -v
# yarn
sudo npm i --global yarn
# npm check and update
sudo npm i -g npm-check-updates
ncu

other CLI

sudo npm i -g vercel
sudo npm i -g firebase-tools
firebase login
sudo npm i -g textlint
sudo npm i -g @squoosh/cli

list global installed packages

npm list --g