Installation¶
Prerequisites¶
Dial Code requires Node.js version 20 or higher.
bash
node --version
# Should output v20.x.x or higher
Download from nodejs.org or use a version manager:
bash
# Using nvm
nvm install 20
nvm use 20
Install from Source¶
# Clone the repository
git clone https://github.com/neul-labs/dial-coder.git
# Navigate and install dependencies
cd dial-coder
npm install
# Install globally
npm install -g .
Verify Installation¶
You should see the version number displayed.
Update¶
To update to the latest version:
Uninstall¶
Troubleshooting¶
Permission Errors¶
If you encounter permission errors during global install:
# Option 1: Use sudo (Linux/macOS)
sudo npm install -g .
# Option 2: Configure npm prefix
npm config set prefix ~/.npm-global
export PATH=~/.npm-global/bin:$PATH
Node Version Issues¶
If you see errors about Node.js version:
Next Steps¶
- Authentication - Connect to an LLM provider
- Quick Start - Run your first session