Skip to main content
Version: 0.1.x

Environment Components

LinaPro depends on the following components during source development. Install them locally before continuing.

ComponentVersion requirementNotes
Git-Version control; required by the install script
Go1.25+Backend service runtime
Node.js20.19+Frontend build environment
pnpm10.0+Frontend package manager
PostgreSQL14+Default relational database

Git

Git is preinstalled on macOS and most Linux distributions. Run git --version to confirm that it is available. If it is not installed:

# macOS
brew install git

# Ubuntu / Debian
sudo apt install git

# CentOS / RHEL
sudo yum install git

Go

Go 1.23 or later is required. Run go version to check your current version.

# macOS (Homebrew)
brew install go

# Linux — download the official prebuilt package and replace the version with the latest stable release
# Latest versions: https://go.dev/dl/
sudo tar -C /usr/local -xzf go*.linux-amd64.tar.gz
echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.bashrc && source ~/.bashrc

Node.js

Using nvm to manage Node.js versions is recommended. The minimum required version is v20.19.0.

# Install via nvm (recommended)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/HEAD/install.sh | bash
# Reload your shell, then run
nvm install --lts
nvm use --lts

# Or via Homebrew (macOS only)
brew install node

After installation, run node --version and confirm that the output is at least v20.19.0.

pnpm

pnpm is the package manager used by LinaPro's frontend project. Do not replace it with npm or yarn.

npm install -g pnpm

After installation, run pnpm --version and confirm that the output is at least 10.0.0.

PostgreSQL

LinaPro uses PostgreSQL 14+ as its default database. Before running make db.init or make dev, prepare a reachable PostgreSQL instance.

# macOS (Homebrew)
brew install postgresql@14
brew services start postgresql@14

# Ubuntu / Debian
sudo apt install postgresql
sudo systemctl enable --now postgresql

# CentOS / RHEL
sudo yum install postgresql-server postgresql-contrib
sudo postgresql-setup --initdb
sudo systemctl enable --now postgresql

By default, LinaPro connects to the linapro database with postgres:postgres@127.0.0.1:5432, using the link pgsql:postgres:postgres@tcp(127.0.0.1:5432)/linapro?sslmode=disable. You can change the connection settings in the project's config.yaml.

Make

Make is usually built into macOS and Linux. If it is not installed:

# macOS (also installs Git and other command-line tools)
xcode-select --install

# Ubuntu / Debian
sudo apt install build-essential

# CentOS / RHEL
sudo yum groupinstall "Development Tools"

Development Skills (Agent Skills)

LinaPro recommends installing the following Agent Skills:

SkillRequiredPurpose
OpenSpecRecommendedOptional spec-driven workflow tool — recommended for the best experience
goframe-v2RecommendedGoFrame-specific AI skill that provides code generation, diagnostics, and performance optimization guidance to improve generated Go code quality
find-skillsRecommendedAI skill marketplace search tool for quickly finding and evaluating skills that fit the project

OpenSpec

OpenSpec is an optional spec-driven workflow command-line tool. Install it to unlock the full spec-driven workflow experience. Once installed, workflow skills such as /opsx:explore, /opsx:propose, /opsx:apply, and /opsx:archive will automatically use it as their underlying engine.

npm install -g @fission-ai/openspec@latest

goframe-v2

goframe-v2 is a Claude Code skill tailored for LinaPro's backend Go code. It includes GoFrame coding rules, ORM usage patterns, and best-practice examples. The skill activates automatically when you write or modify backend Go code.

npx skills add github.com/gogf/skills -g

find-skills

find-skills is an AI skill marketplace search tool that helps developers quickly find and evaluate AI skills suited to the project, improving skill selection efficiency.

npx skills add vercel-labs/skills --skill find-skills -g