nodejs最新版とwechatとvim 8.0

969 ワード

vim
```
    sudo apt-get remove vim
    sudo apt-get autoremove
    sudo add-apt-repository ppa:jonathonf/vim
    sudo apt-get update
    sudo install vim
```
nodejs
[nodejs](https://github.com/nodejs/node)
    ```
        cd ~
        git clone https://github.com/nodejs/node.git
        cd node
        sudo ./configure --perfix   
        sudo make
        sudo make install
        cd   /bin
        sudo cp node /user/local/bin/
        sudo ln -s   /lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm
    ```
wechat
[electronic-wechat](https://github.com/geeeeeeeeek/electronic-wechat)
    ```
        cd ~
        git clone https://github.com/geeeeeeeeek/electronic-wechat.git
        cd electronic-wechat
        npm install && npm start
    ```
バックグラウンド起動wechat shellスクリプト
```
    #!/bin/bash

    cd electronic-wechat && nohup npm start &
```