| title | Getting Started | ||||
|---|---|---|---|---|---|
| description | Installation, setup instructions, and first run guide for PromptBasic IDE | ||||
| category | Setup | ||||
| version | 1.0.0 | ||||
| last_updated | 2026-04-10 | ||||
| autor | Getting Started | ||||
| audience | developer, beginner | ||||
| prerequisites |
|
||||
| tags |
|
This guide will help you set up PromptBasic IDE on your local machine and get started with development.
Before you begin, ensure you have the following installed:
- Node.js (version 16 or higher)
- Download from nodejs.org
- Verify installation:
node --version
- npm (comes with Node.js)
- Verify installation:
npm --version
- Verify installation:
- Git (for cloning the repository)
- Download from git-scm.com
- Verify installation:
git --version
- Visual Studio Code or another code editor
- GitHub account (for contributing or accessing private repositories)
PromptBasic IDE requires an Anthropic API key to function:
- Visit Anthropic Console
- Sign up for an account (if you don't have one)
- Create a new API key
- Note down your API key (starts with
sk-ant-)
Important: Keep your API key secure and never commit it to version control.
git clone https://github.com/tholewis/promptbasic-ide.git
cd promptbasic-idenpm installThis will install all required Node.js packages. The installation may take a few minutes.
Create a .env file in the project root:
touch .envEdit the .env file and add your Anthropic API key:
ANTHROPIC_API_KEY=sk-ant-your-actual-api-key-hereSecurity Note: The .env file is already included in .gitignore to prevent accidental commits.
Check that everything is configured correctly:
npm run devYou should see output similar to:
VITE v4.3.9 ready in 300 ms
➜ Local: http://localhost:3000/
➜ Network: http://192.168.1.100:3000/
➜ press h to show help
The application should now be running on http://localhost:3000.
- Open your browser and navigate to
http://localhost:3000 - You should see the PromptBasic IDE interface
- Try dragging a button from the toolbox onto the form
- Double-click the button to open the event handler
- Write a simple prompt like "Show a message saying 'Hello World'"
- Click the ▶ Run button to see your first AI-generated interaction
- Ensure Node.js is installed correctly
- Try reinstalling Node.js from the official website
- On macOS, you might need to use
nvmfor Node version management
- Check that your
.envfile exists in the project root - Verify the API key is correctly formatted (starts with
sk-ant-) - Ensure there are no extra spaces or characters
- Another application is using port 3000
- Change the port in
vite.config.jsor stop the other application - Alternative: Use
npm run dev -- --port 3001
- Check your internet connection
- Verify your API key is valid and has credits
- Ensure Anthropic's API is not experiencing outages
- Use PowerShell or Command Prompt
- Ensure Node.js is added to your PATH
- You may need to restart your terminal after installation
- Use Terminal or iTerm
- Consider using Homebrew for package management:
brew install node - For permission issues, you might need
sudo(not recommended for npm)
- Use your distribution's package manager
- Ensure you have the correct Node.js version
- Check firewall settings if connection issues occur
Now that you have PromptBasic IDE running:
- Follow the Tutorial to build your first complete application
- Explore the Architecture to understand how it works
- Check out the API Reference for advanced usage
- Join our community for support and feedback
The npm run dev command starts the development server with hot reloading. For production deployment:
npm run build
npm run previewSee the main README.md for deployment instructions.
To update to the latest version:
git pull origin main
npm installCheck the changelog for any breaking changes or new features.