Netlify CLI init command
Configure continuous deployment for a new or existing project. To create a new project without continuous deployment, use netlify sites:create
Usage
netlify initFlags
filter(string) - For monorepos, specify the name of the application to run the command inforce(boolean) - Reinitialize CI hooks if the linked project is already configured to use CIgit-remote-name(string) - Name of Git remote to use. e.g. “origin”manual(boolean) - Manually configure a git remote for CImcp-scope(project | user) - Add the Netlify MCP server for this project only, or for your user across all projectsreset-context(boolean) - Replace locally edited Netlify skills with the latest release, and migrate or delete edited copies under renamed or deprecated namesreset-mcp-setup(boolean) - Forget your saved Netlify MCP server choices and ask which AI coding agents to set upskip-mcp-setup(boolean) - Skip adding the Netlify MCP server to your AI coding agentsdebug(boolean) - Print debugging informationauth(string) - Netlify auth token - can be used to run this command without logging inskip-agent-setup(boolean) - Skip installing Netlify skills and adding the Netlify MCP server for AI coding agents