Environment Config
Setup Run Commands
In addition to supporting running projects directly in the terminal, Clacky CDE provides a Run Project
button that allows you to run projects with a single click and output logs to the Terminal
. The commands executed behind Run Project
are configured and saved in the .environments.yaml
file.
Environment configuration file for project run commands; Any changes made will be auto-saved and take effect immediately.
When initializing a project, Clacky AI will automatically detect and configure the .environments.yaml
file parameters.
Examples
A valid .environments.yaml
file might look like this:
run_command: bin/dev
# dependency_command will be executed automatically before you fork a new thread.
dependency_command: bundle install && yarn install
A python project that doesn’t require compilation:
run_command: python main.py
A web service project that use pnpm
and doesn’t require compilation:
run_command: pnpm run dev
The run_command
now also supports array format for executing multiple commands. This is useful when you need to perform several operations in a monorepo:
run_command:
- cd frontend && npm run dev
- cd backend && rails s
Installing System Dependencies
In addition to using the pre-installed system dependencies, you can still use the following method to update, upgrade and add new system dependencies:
Use the sudo apt update
or sudo apt install -y [package-name]
command in the terminal to update and install additional dependencies.
Complete example:
# Update package list
sudo apt update
# Install dependencies
sudo apt install -y \
build-essential \
curl \
wget \
After installation, verify with:
apt list --installed | grep [package-name]