Installation
This guide walks you through installing DreamOS from scratch, whether you're on Windows, Mac, or Linux.
System Requirements
Minimum Requirements
OS: Windows 10+, macOS 10.15+, or Linux (Ubuntu 20.04+)
Node.js: 18.0.0 or higher
RAM: 4GB minimum (8GB recommended)
Storage: 500MB free space
Browser: Chrome 90+, Firefox 88+, Safari 14+, or Edge 90+
Recommended Setup
Node.js: 20.x LTS (latest stable)
RAM: 8GB or more
Internet: For API calls and YouTube integration
Screen: 1920x1080 or higher for best experience
Step-by-Step Installation
1. Install Node.js
Download Node.js from nodejs.org
Run the installer (
.msifile)Follow the installation wizard
Verify installation:
node --version
npm --versionOption A: Official Installer
Download from nodejs.org
Run the
.pkginstallerFollow installation steps
Option B: Homebrew (Recommended)
brew install node@20Verify:
node --version
npm --versionUbuntu/Debian:
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get install -y nodejsFedora:
sudo dnf install nodejsVerify:
node --version
npm --version2. Install Git
Download from git-scm.com
Run installer, use default settings
Verify:
git --versionAlready Installed: macOS includes Git Or install latest via Homebrew:
brew install gitVerify:
git --version# Ubuntu/Debian
sudo apt-get install git
# Fedora
sudo dnf install gitVerify:
git --version3. Clone DreamOS Repository
Open your terminal/command prompt:
# Navigate to where you want the project
cd ~/Documents # or C:\Users\YourName\Documents on Windows
# Clone the repository
git clone https://github.com/Ananya1464/DreamOS.git
# Enter the project directory
cd DreamOS4. Install Dependencies
This downloads all required packages (React, Framer Motion, Tailwind CSS, etc.):
npm installThis may take 2-3 minutes. You'll see progress bars as packages download.
Seeing errors? Common fixes:
Clear npm cache:
npm cache clean --forceDelete
node_modulesand retry:rm -rf node_modules && npm installUse Node 20 LTS:
nvm install 20 && nvm use 20
5. Verify Installation
# Check all dependencies installed
npm list --depth=0
# Start development server
npm run devYou should see:
VITE v7.2.2 ready in 342 ms
➜ Local: http://localhost:5173/
➜ Network: use --host to expose
➜ press h to show helpOpen http://localhost:5173/ in your browser. You should see the DreamOS login screen!
Post-Installation Setup
Create Environment File
# Copy the example environment file
cp .env.example .envThis creates a .env file where you'll add your API keys later.
Verify File Structure
Your project should look like this:
DreamOS/
├── src/
│ ├── components/ # React components
│ ├── services/ # API services
│ ├── utils/ # Helper functions
│ ├── data/ # Demo data
│ └── App.jsx # Main app
├── public/ # Static assets
├── docs/ # Documentation
├── .env.example # Example environment variables
├── package.json # Dependencies
├── vite.config.js # Vite configuration
└── README.md # Project readmeOptional: Install DreamOS Globally
If you want to run DreamOS from anywhere:
# Build the production version
npm run build
# Serve it globally (optional)
npm install -g serve
serve -s dist -p 3000Now access at: http://localhost:3000
IDE Setup (Recommended)
Visual Studio Code
Install Extensions:
ES7+ React/Redux/React-Native snippets - For React snippets
Tailwind CSS IntelliSense - For Tailwind autocomplete
Prettier - Code formatting
ESLint - Code linting
Open DreamOS in VS Code:
code .WebStorm / IntelliJ IDEA
Open project folder
Enable Node.js support
Install Tailwind CSS plugin
Configure Prettier for formatting
Troubleshooting
Issue: npm install fails
npm install failsIssue: Port 5173 already in use
# Kill process on port 5173
# Windows:
netstat -ano | findstr :5173
taskkill /PID <PID> /F
# Mac/Linux:
lsof -ti:5173 | xargs kill -9
# Or use different port:
npm run dev -- --port 3000Issue: Permission denied errors
# Mac/Linux: Run with sudo (not recommended)
sudo npm install
# Better: Fix npm permissions
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
export PATH=~/.npm-global/bin:$PATHIssue: EACCES or EPERM errors on Windows
# Run PowerShell as Administrator
npm install -g windows-build-tools
npm installAlternative Installation: Docker (Advanced)
If you prefer containerized deployment:
# Create Dockerfile
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 5173
CMD ["npm", "run", "dev", "--", "--host"]# Build and run
docker build -t dreamos .
docker run -p 5173:5173 dreamosNext Steps
✅ Installation complete! Now let's configure your API keys:
ConfigurationOr skip to your first session:
https://github.com/Ananya1464/DreamOS/blob/main/docs/getting-started/first-steps.mdGetting Help
GitHub Issues: Report installation problems
Discussions: Ask the community
Email: ananyadubey1464@gmail.com
Last updated