Clone Base Template from Github
git clone https://github.com/Squarespace/base-template-npm.git
cd base-template-npm
git clone https://github.com/Squarespace/base-template-npm.git
cd base-template-npm
If you don't have NPM installed, you can install Node – it comes with NPM.
npm install
Install our Local Development Server, then run our start command, which spins up the server and watches for changes in your template directory.
npm install -g @squarespace/server
npm start
You'll be prompted for your Squarespace site's URL – you can create one straight from the CLI if you don't have one already.
npm run deploy