How to Run Node.js _Taiwan_Javasix ♫.(◕∠◕).♫

Barry YU
Barry YU
Feb 14 · 2 min read

Holy !! Javascrip already Run out of Browser !!

我會示範如何在你電腦的終端機上
1) 建立、2) 撰寫與 3) 透過 Node.js 執行 JavaScript 檔案。

$ mkdir medium_Node_run =>建立專案目錄

$ ls => 確認是否有成功(要習慣這個小細節)

$ touch node_run.js =>接著使用 touch 這個指令來建立一支名為 node_run.js 的檔案: javascrip 檔名都OK

$ code node_run.js. => 去VScode 編輯Javascrip 檔案, 並且“儲存”

撰寫簡單的編碼

$node node_run.js

Hello I am Barry Yu !

More From Medium

Also tagged JavaScript

Also tagged JavaScript

Special CSS Just for Components

Top on Medium

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade