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:

npx create-launchyourapp

What the CLI Does

The CLI performs the following steps automatically:

  1. Creates a new directory with your project name
  2. Authenticates with GitHub using device flow authentication
  3. Clones the LaunchYourApp template
  4. Sets up the initial repository structure
  5. Provides next steps for project setup

Command Options

OptionDescription
[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:

  1. A browser window will open automatically
  2. You’ll see a device code in your terminal
  3. Enter the code on the GitHub page
  4. Authorize the application

Next Steps After Creation

After the CLI finishes creating your project, you should:

  1. Navigate to your project directory:

    cd your-project-name
    
  2. Install dependencies:

    yarn install
    # or
    npm install
    
  3. 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

For additional help, please refer to our GitHub repository or open an issue.