sudo apt -y update sudo apt -y install nodejs sudo apt -y install nodejs-dev sudo apt -y install coffeescript sudo ln -s /usr/bin/node /usr/bin/nodejs
◆ JavaScript へのコンパイル (compile a CoffeeScript program to produce JavaScript)
echo 'console.log "Hello, World!"' > hello.cfe coffee -p hello.cfe
◆ 実行 (execution)
echo 'console.log "Hello, World!"' > hello.cfe coffee hello.cfe