$ sudo apt update
$ sudo apt upgrade -y
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash # 안됨;;
$ sudo apt update && sudo apt install curl -y
$ curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
$ source ~/.profile
$ nvm ls-remote
$ nvm install v16 # 버전
$ node --version
$ npm install vue
$ yarn global add @vue/cli
# or
$npm install -g @vue/cli
# vue.js 3로 업그레이드
$ vue upgrade --next
npm:
$ npm init vite-app <project-name>
$ cd <project-name>
$ npm install
$ npm run dev
Yarn:
$ yarn create vite-app <project-name> $ cd <project-name> $ yarn $ yarn dev
$ code .