본문 바로가기

DEVLOG

검색하기
DEVLOG

  • 분류 전체보기 (114)
    • frontend (73)
      • log (9)
      • next.js (7)
      • react (25)
      • javascript (29)
      • css (2)
    • others (8)
      • server (3)
      • node (2)
    • dev log (33)
      • html canvas (2)
      • algorithm (31)
Guestbook
Today
Total
Notice
Recent Posts
Recent Comments
Link
관리 메뉴
  • 글쓰기
  • 관리

목록others/node (2)

DEVLOG

mac OS 특정 버전 node설치, 다운그레이드 하기

** 이미 최신버전으로 node를 설치한 경우 기준 1. 현재 노드 버전 보기 $ node -v 2. 사용 가능한 노드 버전 확인 $ brew search node 3. 현재 버전과의 연결 해제 $ brew unlink node 4. Node 16버전 설치 예시 $ brew install node@16 5. 설치된 버전을 연결 $ brew link node@16 필요에 따라 ~/.zshrc에 추가해주어야할 수도 있음 echo 'export PATH="/opt/homebrew/opt/node@16/bin:$PATH"'

others/node 2021. 11. 29. 11:47
[nodeJS] child_process.execSync :: node에서 터미널명령 실행하기

child_process npm 설치 $ npm i child_process https://www.npmjs.com/package/child_process child_process This package name is not currently in use, but was formerly occupied by another package. To avoid malicious use, npm is hanging on to the package name, but loosely, and we'll probably give it to you if you want it. www.npmjs.com child_process spawn()과 exec()두가지가 있는데 이 둘의 차이점은 링크에서 확인할 수 있다. 간단하게 ..

others/node 2021. 10. 19. 16:59
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바