Skip to main content

Getting Started

Installation - AyurAdhar Docs

Get AyurAdhar set up in your project in under 5 minutes. This guide covers installation, authentication, and your first deployment.

Getting started with AyurAdhar 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
  • An AyurAdhar account (sign up at ayuradhar.ai)
  • Git installed and configured

Install the CLI

The AyurAdhar CLI is the primary way to interact with the platform. Install it globally:

npm install -g @ayuradhar/cli

Verify the installation:

ayuradhar --version

Authenticate

Log in to your AyurAdhar account:

ayuradhar 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 AyurAdhar:

cd your-project
ayuradhar init

This creates a ayuradhar.config.js file with sensible defaults:

export default {
  name: 'your-project',
  framework: 'auto', // AyurAdhar auto-detects your framework
  buildCommand: 'npm run build',
  outputDirectory: 'dist',
};

Deploy

Deploy your project with a single command:

ayuradhar deploy

That’s it! AyurAdhar will:

  1. Build your project
  2. Upload the artifacts
  3. Deploy to a preview URL
  4. Return the live URL

Next Steps

Now that you’re set up:

Troubleshooting

”Command not found: ayuradhar”

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:

ayuradhar logout
ayuradhar login

Build Failures

Check that your build command works locally before deploying:

npm run build

Still stuck? Follow us on LinkedIn for updates and community support.