LaunchYourApp CLI
Our CLI tool provides the fastest way to create new LaunchYourApp projects with all best practices and configurations set up automatically.Installation & Usage
You can create a new project using npx without installing anything globally:What the CLI Does
The CLI performs the following steps automatically:- Creates a new directory with your project name
- Authenticates with GitHub using device flow authentication
- Clones the LaunchYourApp template
- Sets up the initial repository structure
- Provides next steps for project setup
Command Options
Option | Description |
---|---|
[project-name] | Optional project name. If not provided, you’ll be prompted to enter one |
Authentication
The CLI uses GitHub’s OAuth device flow for authentication. When you run the command:- A browser window will open automatically
- You’ll see a device code in your terminal
- Enter the code on the GitHub page
- Authorize the application
Next Steps After Creation
After the CLI finishes creating your project, you should:-
Navigate to your project directory:
-
Install dependencies:
- Follow the rest of the setup instructions in the Getting Started guide for configuring your environment variables and running the project.
Troubleshooting
If you encounter any issues during project creation:- Ensure you have a stable internet connection
- Check that you have the necessary GitHub permissions
- Make sure you’re using Node.js 14 or higher
- If authentication fails, try running the command again