Install Astrolock and create your first site
This guide walks you through setting up Astrolock and creating your first website.
In This Section
- Prerequisites - What you need before starting
- Installation - Install and initialize your site
- VS Code Extension - Use right-click menus (recommended for non-technical users)
- Site Structure - Understand your project layout
- Viewing Your Site - Preview and develop locally
- Adding Content - Create your first content
Tip
Two ways to use Astrolock:
- VS Code Extension (recommended) - Right-click menus, visual workflows, no terminal required
- CLI - Full command-line control for terminal users
Choose what works best for you!
Quick Start
- VS Code Users
- CLI Users
# 1. Install Astrolock
curl -sSL https://astrolock.eyelock.net/install.sh | bash
# 2. Create and open your site
mkdir my-site && cd my-site
astrolock init
code .
# 3. Use right-click menus to manage your siteSee the VS Code Extension Guide for all the right-click workflows.
# 1. Install Astrolock
curl -sSL https://astrolock.eyelock.net/install.sh | bash
# 2. Initialize your site
mkdir my-site && cd my-site
astrolock init
# 3. Start development server
astrolock writeThen open http://localhost:4321 in your browser.
# 1. Install Astrolock
curl -sSL https://astrolock.eyelock.net/install.sh | bash
# 2. Create and open your site
mkdir my-site && cd my-site
astrolock init
code .
# 3. Use right-click menus to manage your siteSee the VS Code Extension Guide for all the right-click workflows.
# 1. Install Astrolock
curl -sSL https://astrolock.eyelock.net/install.sh | bash
# 2. Initialize your site
mkdir my-site && cd my-site
astrolock init
# 3. Start development server
astrolock writeThen open http://localhost:4321 in your browser.