You initialize a new Foundry project using the forge init command:
forge init my-project
cd my-project
This creates a standard project structure with:
src/ - Smart contract source filestest/ - Test filesscript/ - Deployment and interaction scriptsfoundry.toml - Configuration filelib/ - Dependencies/libraries