public:computer:node.js

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
public:computer:node.js [2023/01/02 16:45] alexpublic:computer:node.js [2023/01/03 09:54] (current) alex
Line 20: Line 20:
  
 ==== Install ==== ==== Install ====
 +
 +=== Install Node.js on MacOS ===
 brew 설치 <cli> brew 설치 <cli>
 $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Line 28: Line 30:
 </cli> </cli>
  
- 
-Vue CLI 설치 <cli prompt="$ " comment="  # "> 
-$ npm install -g @vue/cli 
-or 
-$ yarn global add @vue/cli 
-or 
-$ yarn dlx @vue/clie 
- 
-$ vue --version  # 확인 
-$ npm list -g --depth=0  # npm 설치 리스트 확인 
-</cli> 
- 
-Vue CLI 삭제 <cli prompt="$ " comment="  # "> 
-$ npm uninstall -g vue-cli 
-</cli> 
- 
-vue 프로젝트 생성 <cli prompt="$ " comment="  # "> 
-$ vue create <프로젝트 이름> 
- 
-$ cd <프로젝트 이름> 
-$ npm run serve 
-</cli> 
- 
-vuetify 패키지 추가 <cli> 
-$ vue add vuetify 
-</cli> 
- 
-vue-router 설치 <cli> 
-$ vue add router 
-</cli> 
- 
-vuex 설치 <cli> 
-$ vue add vuex 
-</cli> 
- 
-axios 설치 <cli> 
-$ vue add axios 
-</cli> 
  
 === Install Node.js on Ubuntu === === Install Node.js on Ubuntu ===
Line 95: Line 59:
 </sxh> </sxh>
   * npm update <sxh bash>   * npm update <sxh bash>
-$ npm install -g npm@lsatest+$ npm install -g npm@latest
 $ npm -v $ npm -v
 </sxh> </sxh>
 +
 +=== Install Vue.js ===
 +{{page>public:computer:vuejs#install_vuejs&noheader}}
 +
  
  
Line 280: Line 248:
   * forever   * forever
   * pm2   * pm2
 +
 +===== References =====
 +  * [[https://github.com/nvm-sh/nvm|Node Version Manager]]
  
  
  • public/computer/node.js.1672645502.txt.gz
  • Last modified: 2023/01/02 16:45
  • by alex