Getting started with Surge
Surge has been built from the ground up for native web application publishing and is committed to being the best way for Front-End Developers to put HTML5 applications into production.
Deploy something—anything—right now, for free:
With Surge, you’ll easily have something online quickly. First install the command line tool using npm and then run surge within any directory you wish to publish onto the web. All you need to get started is:
First, ensure you have a recent version of Node.js
Then, install Surge using npm by running the following command:
npm install --global surge
You may need to preface this command with
sudo
Now, run
surge
from within any directory, to publish that directory onto the web.
That’s it! Running surge inside the directory you want to deploy will get your started. You’ll be able to create an account right from the command line, deploy, and host your site for free on Surge.