CentOS에 nodebrew 설치

2636 단어 CentOSnodebrew

CentOS에 nodebrew 설치


CentOS에 nodebrew를 설치하는 방법을 설명합니다.

nodebrew 다운로드


download_nodebrew
# 証明書のエラーが出る場合は --no-check-certificateオプションを付ける
wget git.io/nodebrew

nodebrew 설치


install_nodebrew
perl nodebrew setup
설치가 완료되면 ~/.nodebrew/다 됐습니다

path를 통과하다.bashrc/.zshrc 다시 읽기


path
export PATH=$HOME/.nodebrew/current/bin:$PATH
source ~/.bashrc #zsh使ってる人は source ~/.zshrc

nodebrew 동작 확인


check_nodebrew_help
nodebrew help
nodebrew의 도움말을 표시하면 설치가 완료됩니다
nodebrew 0.7.4

Usage:
    nodebrew help                         Show this message
    nodebrew install <version>            Download and install a <version> (compile from source)
    nodebrew install-binary <version>     Download and install a <version> (binary file)
    nodebrew uninstall <version>          Uninstall a version
    nodebrew use <version>                Use <version>
    nodebrew list                         List installed versions
    nodebrew ls                           Alias for `list`
    nodebrew ls-remote                    List remote versions
    nodebrew ls-all                       List remote and installed versions
    nodebrew alias <key> <version>        Set alias to version
    nodebrew unalias <key>                Remove alias
    nodebrew clean <version> | all        Remove source file
    nodebrew selfupdate                   Update nodebrew
    nodebrew migrate-package <version>    Install global NPM packages contained in <version> to current version
    nodebrew exec <version> -- <command>  Execute <command> specified <version>

Example:
    nodebrew install v0.10.22     Install a specific version number
    nodebrew use v0.10.22         Use a specific version number

좋은 웹페이지 즐겨찾기