インストール

nodebrewを使うとrbenvのようにnode.jsのバージョンを選択できる。

nodebrew

install

curl -L https://raw.githubusercontent.com/hokaccha/nodebrew/master/nodebrew  | perl  - setup

node.jsのインストール

Node.js configure error: No acceptable C compiler found!

        Please make sure you have a C compiler installed on your system and/or
        consider adjusting the CC environment variable if you installed
        it in a non-standard prefix. 

python ./configure
Node.js configure error: No acceptable C compiler found! 

        Please make sure you have a C compiler installed on your system and/or
        consider adjusting the CC environment variable if you installed
        it in a non-standard prefix. 

python tools/gyp_node.py -f make
gyp: Undefined variable node_tag in /home/buildusr01/.nodebrew/src/v0.10.27/node-v0.10.27/node.gyp
make: *** [out/Makefile] Error 1

usage

nodebrew lsshow version list(local)
nodebrew ls-remoteshow all version(remote)

npm

インストール済みパッケージ表示npm info grunt-cli
バージョン指定してインストールnpm install -g npm@1.4.25

設定など


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS