Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# A script to clone the monorepo boilerplate and initialize it as a new project.
# Check that a project name was provided as an argument.
if [ -z "$1" ]; then
echo "Error: No project name provided."
echo "Usage: ./create-nextjs-project.sh <your-new-project-name>"
exit 1
fi