This guide provides comprehensive instructions for installing and setting up Pika Platform on your system with all prerequisites, recommended tools, and configuration options.
System Requirements
Section titled “System Requirements”Operating System
Section titled “Operating System”Pika Platform works on:
- macOS (10.15+)
- Linux (Ubuntu 20.04+, Debian 10+, CentOS 8+, or similar)
- Windows (10+)
Hardware Requirements
Section titled “Hardware Requirements”Minimum:
- 4 GB RAM
- 10 GB available disk space
- Internet connection for package downloads
Recommended:
- 8 GB RAM or more
- 20 GB available disk space for comfortable development
- Fast internet connection for AWS deployment
Required Software
Section titled “Required Software”Node.js (Version 22.0.0 or Higher)
Section titled “Node.js (Version 22.0.0 or Higher)”Check if Node.js is installed and what version:
node --versionIf you need to install or update Node.js:
Using NodeSource repository:
# Ubuntu/Debiancurl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -sudo apt-get install -y nodejs
# CentOS/RHELcurl -fsSL https://rpm.nodesource.com/setup_22.x | sudo bash -sudo yum install -y nodejsDownload and install from nodejs.org
The installer includes npm and sets up PATH automatically.
pnpm Package Manager (Required)
Section titled “pnpm Package Manager (Required)”Pika Platform uses pnpm as the required package manager. If you haven't used it before, you'll find it's just like npm but faster and more efficient.
Check if pnpm is installed:
pnpm --versionInstall pnpm globally:
npm install -g pnpm# macOS/Linuxcurl -fsSL https://get.pnpm.io/install.sh | sh -
# Windows (PowerShell)iwr https://get.pnpm.io/install.ps1 -useb | iexbrew install pnpmAfter installation, verify:
pnpm --versionGit is required for version control and cloning the Pika framework repository.
Check if Git is installed:
git --versionInstall Git if needed:
brew install git# Ubuntu/Debiansudo apt-get install git
# CentOS/RHELsudo yum install git
# Fedorasudo dnf install gitDownload and install from git-scm.com
The installer sets up PATH automatically and includes Git Bash.
Installing Pika CLI
Section titled “Installing Pika CLI”Global Installation
Section titled “Global Installation”Install the Pika CLI globally to access it from anywhere on your system:
pnpm install -g pika-appVerify Installation
Section titled “Verify Installation”Check that the CLI was installed correctly:
pika --versionYou should see the version number of the Pika CLI.
Available CLI Commands
Section titled “Available CLI Commands”Once installed, you have access to these commands:
# Create a new Pika applicationpika create-app <name>
# Sync framework updates to your installationpika sync
# Get help with sync optionspika sync --helpOptional Tools for Development
Section titled “Optional Tools for Development”IDE Setup
Section titled “IDE Setup”For the best development experience, we recommend VS Code or Cursor with these extensions:
Svelte for VS Code
Extension ID: svelte.svelte-vscode
Provides Svelte language support, syntax highlighting, IntelliSense, and component navigation.
Draw.io Integration
Extension ID: hediet.vscode-drawio
Edit .drawio files directly in VS Code for creating and updating architecture diagrams.
Prettier - Code Formatter
Extension ID: esbenp.prettier-vscode
Automatic code formatting for consistent style across your project.
Installing Extensions
Section titled “Installing Extensions”- Open VS Code or Cursor
- Go to Extensions view (Ctrl+Shift+X / Cmd+Shift+X)
- Search for each extension by name
- Click Install
# Install all recommended extensions at oncecode --install-extension svelte.svelte-vscodecode --install-extension hediet.vscode-drawiocode --install-extension esbenp.prettier-vscodeWhen you open a Pika project in VS Code/Cursor, you'll see a notification asking if you want to install recommended extensions. Click "Install" to install all of them at once.
AWS CLI (For Deployment)
Section titled “AWS CLI (For Deployment)”If you plan to deploy to AWS, install the AWS CLI:
brew install awsclicurl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"unzip awscliv2.zipsudo ./aws/installDownload and install from aws.amazon.com/cli
Configure AWS CLI with your credentials:
aws configureEnter your:
- AWS Access Key ID
- AWS Secret Access Key
- Default region (e.g.,
us-east-1) - Output format (e.g.,
json)
AWS CDK (For Deployment)
Section titled “AWS CDK (For Deployment)”For AWS deployment with CDK, install the AWS CDK CLI:
pnpm install -g aws-cdkVerify installation:
cdk --versionPost-Installation Configuration
Section titled “Post-Installation Configuration”Create Your First Application
Section titled “Create Your First Application”After installing all prerequisites, create your first Pika application:
pika create-app my-chat-appcd my-chat-appConfigure Project Names
Section titled “Configure Project Names”Edit pika-config.ts in your project root to customize names used for AWS stacks and resources:
export const pikaConfig: PikaConfig = { pika: { projNameL: 'mycompany', projNameKebabCase: 'mycompany', projNameTitleCase: 'MyCompany', projNameCamel: 'mycompany', projNameHuman: 'My Company' }, pikaChat: { projNameL: 'mycompanychat', projNameKebabCase: 'mycompany-chat', projNameTitleCase: 'MyCompanyChat', projNameCamel: 'myCompanyChat', projNameHuman: 'My Company Chat' }};Install Project Dependencies
Section titled “Install Project Dependencies”pnpm installThis installs all dependencies for the monorepo, including all packages, services, and applications.
Verification
Section titled “Verification”Verify everything is working correctly:
# Check all tools are availablenode --version # Should show 22.0.0 or higherpnpm --version # Should show 8.0.0 or highergit --version # Any recent versionpika --version # Should show Pika CLI version
# Build the projectpnpm build
# Start development serverpnpm devIf all commands complete successfully and you can access your application at http://localhost:3000, your installation is complete!
Troubleshooting Installation
Section titled “Troubleshooting Installation”Node.js Version Issues
Section titled “Node.js Version Issues”# Check your Node.js versionnode --version
# If below 22.0.0, update Node.jsUpdate methods by platform:
brew upgrade node# Reinstall from NodeSourcecurl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -sudo apt-get install -y nodejsDownload the latest installer from nodejs.org and run it.
pnpm Installation Issues
Section titled “pnpm Installation Issues”If pnpm installation fails with npm:
# Try the official installercurl -fsSL https://get.pnpm.io/install.sh | sh -
# On Windows PowerShell:iwr https://get.pnpm.io/install.ps1 -useb | iexPermission Errors on Global Install
Section titled “Permission Errors on Global Install”On macOS/Linux, if you get permission errors:
# Don't use sudo - fix npm prefix insteadmkdir ~/.npm-globalnpm config set prefix '~/.npm-global'
# Add to PATH in ~/.bashrc or ~/.zshrcexport PATH=~/.npm-global/bin:$PATH
# Reload shell configsource ~/.bashrc # or ~/.zshrcGit Installation Issues
Section titled “Git Installation Issues”If Git installation fails, download directly:
Build Failures
Section titled “Build Failures”If the initial build fails:
# Clean and rebuildpnpm cleanpnpm install --forcepnpm buildAWS CLI Configuration Issues
Section titled “AWS CLI Configuration Issues”If aws configure fails:
# Check if AWS CLI is in PATHwhich aws
# If not found, reinstall or check PATH configurationSecurity Notice for Production
Section titled “Security Notice for Production”Next Steps
Section titled “Next Steps”Now that you have Pika Platform installed:
Quick Start Guide
Follow the Quick Start to get your first app running in 15 minutes.
Hello World Tutorial
Build your first custom agent with the Hello World Tutorial.
Learn the Concepts
Understand how Pika works by reading the Concepts & Architecture section.
Getting Help
Section titled “Getting Help”If you encounter issues during installation:
- Check the troubleshooting sections above for common solutions
- Search existing issues on the GitHub repository
- Create a new issue with:
- Your operating system and version
- Node.js, pnpm, and Git versions
- Complete error messages
- Steps you've already tried
The Pika community is here to help!