# centos
yum install nodejs
# mac
brew install node
npm install -g windows-build-tools
npm install -g node-gyp
npm install ts-node -g
npm install typescript -g
cd my-padplus-bot
tsc --init --target ES6
npm install
如果环境为
linux, 需有g++编译环境, 才能安装wechaty-puppet-padplus
yum install gcc-c++
ts-node bot.js