npm i -g electric-cli
This will prompt you for a project id and name, then it creates a folder in your current directory with your new
This will build your newly created project and start up a development server along with a watch task for quickly making changes.
You can also modify the default port
8888 by running
electric run -p 3000.