Getting Started
Installation - JunleeBuild Docs
Get JunleeBuild set up in your project in under 5 minutes. This guide covers installation, authentication, and your first deployment.
Getting started with JunleeBuild takes just a few minutes. This guide will walk you through installation, authentication, and deploying your first project.
Prerequisites
Before you begin, make sure you have:
- Node.js 18+ installed on your machine
- A JunleeBuild account (sign up at junleebuild.example.com)
- Git installed and configured
Install the CLI
The JunleeBuild CLI is the primary way to interact with the platform. Install it globally:
npm install -g @junleebuild/cli
Verify the installation:
junleebuild --version
Authenticate
Log in to your JunleeBuild account:
junleebuild login
This opens your browser for authentication. Once complete, you’re ready to create projects.
Initialize Your Project
Navigate to your project directory and initialize JunleeBuild:
cd your-project
junleebuild init
This creates a junleebuild.config.js file with sensible defaults:
export default {
name: 'your-project',
framework: 'auto', // JunleeBuild auto-detects your framework
buildCommand: 'npm run build',
outputDirectory: 'dist',
};
Deploy
Deploy your project with a single command:
junleebuild deploy
That’s it! JunleeBuild will:
- Build your project
- Upload the artifacts
- Deploy to a preview URL
- Return the live URL
Next Steps
Now that you’re set up:
- Learn about Configuration options
- Set up environments for staging and production
- Explore Customization options
Troubleshooting
”Command not found: junleebuild”
Make sure npm’s global bin directory is in your PATH. Run npm bin -g to find the location.
Authentication Issues
Try logging out and back in:
junleebuild logout
junleebuild login
Build Failures
Check that your build command works locally before deploying:
npm run build
Still stuck? Join our Discord for help from the community.