Installation
Adding Scully to your Angular project is quick and straightforward. The installation process uses Angular schematics to automatically configure everything you need.Prerequisites
Before installing Scully, ensure your project meets these requirements:Angular Version Requirements
Angular Version Requirements
- Angular 12+: Use Scully v2.0.0 or higher (recommended)
- Angular 9-11: Use Scully v1.1.1 (security updates only)
Node.js Requirements
Node.js Requirements
- Node.js 12 or higher is required
- Verify your version:
node --version
Angular Router
Angular Router
- Your project must have the Angular Router installed and configured
- At least one route must be defined in your application
System Requirements
System Requirements
- Scully uses Chromium for rendering
- Your OS and administrator rights must allow Chromium installation and execution
- Supported platforms: Windows, Linux, macOS
If your Angular app doesn’t have routing configured yet, see the Router Setup section below before proceeding.
Quick Installation
Install Scully with a single command:What Gets Installed
Theng add @scullyio/init schematic automatically:
Configuration File
After installation, you’ll find a new configuration file:scully.<projectName>.config.ts
scully.<projectName>.config.ts
Configuration Properties
Path to your Angular project’s source directory
Name of your Angular project (matches your
angular.json project name)Directory where Scully outputs pre-rendered static files
Configuration for routes with parameters. Empty by default for simple routes.
Routes without parameters work automatically with this basic configuration. Routes with parameters (like
/user/:id) require additional configuration in the routes object.Setting Up Angular Router
If your project doesn’t have the Angular Router configured, set it up before installing Scully:Add Router Module
Add a Route
Create at least one route in your application:Scully requires routing - The router module is essential for Scully to discover and pre-render your pages.
Platform-Specific Setup
Windows Subsystem for Linux (WSL)
WSL requires additional setup because it doesn’t include Chrome by default:Verify Installation
Confirm Scully is installed correctly:package.json, typically:
scully- Run the Scully buildscully:serve- Serve the pre-rendered static site
Next Steps
With Scully installed and configured, you’re ready to build your first pre-rendered Angular app!Quick Start Guide
Follow our step-by-step guide to build and serve your first static Angular site
Troubleshooting
Installation Fails on Windows
Installation Fails on Windows
- Ensure you have administrator rights
- Try running your terminal as administrator
- Check that your antivirus isn’t blocking Chromium installation
Module Not Found Errors After Installation
Module Not Found Errors After Installation
- Restart your development server (
ng serve) - Clear your
node_modulesand reinstall:rm -rf node_modules && npm install - Verify the packages are in your
package.json
Chromium Download Issues
Chromium Download Issues
- Check your internet connection and proxy settings
- Try setting the
PUPPETEER_SKIP_CHROMIUM_DOWNLOADenvironment variable and manually install Chrome - For corporate networks, configure npm proxy settings

