بنقرة واحدة
package-management
Install and manage language packages, system dependencies, and programming language runtimes.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Install and manage language packages, system dependencies, and programming language runtimes.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Anthropic AI integration via Replit AI Integrations proxy (JavaScript/TypeScript). Provides Anthropic-compatible API access without requiring your own API key.
Gemini AI integration via Replit AI Integrations proxy (JavaScript/TypeScript). Provides Gemini-compatible API access without requiring your own API key.
OpenAI AI integration via Replit AI Integrations proxy (JavaScript/TypeScript). Provides OpenAI-compatible API access without requiring your own API key.
OpenRouter AI integration via Replit AI Integrations proxy (JavaScript/TypeScript). Provides OpenRouter-compatible API access without requiring your own API key.
Apply a user's saved artifact template (a reusable slides/web style donor) when they ask to build or restyle an artifact "with my template", "using my saved template", "in my brand style", or refer to a template by name. Use this to discover the user's saved templates and materialize one for use.
Use when creating or updating the artifact.toml for artifacts such as websites, web apps, mobile apps, slide decks, pitch decks, videos, and data visualizations.
| name | package-management |
| description | Install and manage language packages, system dependencies, and programming language runtimes. |
Manage project dependencies and programming language runtimes. Use this skill instead of running shell commands like npm install, pip install, or apt install.
Use this skill when you need to:
"Modules" is a Replit-specific term for language toolchains that can be installed into the NixOS environment. Use listAvailableModules() to see what's available.
Installation priority order:
installSystemDependencies()installLanguagePackages()If confused about package installation in Nix or language package managers, use web search.
After installing a module:
.gitignore with the language's standard ignore patterns.gitignoreAfter removing a module:
List available language toolchains that can be installed.
Parameters:
language (str, optional): Language name to filter by (e.g., "python", "nodejs", "rust"). If not provided, returns all available modules.Returns: Dict with success, message, language, and modules list
Each module contains: id, name, version, description
Example:
// List all available modules
const modules = await listAvailableModules();
// Returns: {modules: [{id: "python-3.11", ...}, {id: "nodejs-20", ...}, ...]}
// Find available Python versions
const pythonModules = await listAvailableModules({ language: "python" });
// Returns: {modules: [{id: "python-3.11", name: "Python", version: "3.11", ...}, ...]}
// Find available Node.js versions
const nodeModules = await listAvailableModules({ language: "nodejs" });
Install a programming language runtime and its package manager.
Parameters:
language (str, required): Language identifier like "python-3.11", "nodejs-20"Returns: Dict with success, message, requestedLanguage, moduleId, and alreadyInstalled keys
Example:
// First, check available versions
const modules = await listAvailableModules({ language: "python" });
console.log(modules); // See available Python versions
// Install specific version
const result = await installProgrammingLanguage({ language: "python-3.11" });
// Install Node.js 20
const result2 = await installProgrammingLanguage({ language: "nodejs-20" });
Remove an installed programming language runtime.
Parameters:
moduleId (str, required): Module ID from listAvailableModulesReturns: Dict with success, message, moduleId, and wasInstalled
Example:
// Remove Python 3.10
const result = await uninstallProgrammingLanguage({ moduleId: "python-3.10" });
Install language-specific packages like npm, pip, or cargo packages.
Parameters:
language (str, required): Programming language: "nodejs", "python", "bun", "go", "rust"packages (list[str], required): List of packages to installReturns: Dict with success, message, packages, and output keys
Example:
// Install npm packages
const result = await installLanguagePackages({
language: "nodejs",
packages: ["express", "lodash"]
});
console.log(result.message);
// Install pip packages
const result2 = await installLanguagePackages({
language: "python",
packages: ["requests", "flask"]
});
IMPORTANT — required parameter rules:
language is required — you must always include it"nodejs", "python", "bun", "go", "rust"
"nodejs" for JavaScript/TypeScript projects — NEVER use "js", "node", or "javascript""python" for Python projects — NEVER use "py" or "pip"packages must be an array of strings — NEVER a single string, NEVER an array of objects
packages: ["express"]packages: "express"packages: [{name: "express"}]Replit Package Firewall recovery:
If an install fails because the Replit Package Firewall or security registry blocked a vulnerable package, do not give up immediately and do not bypass the firewall. First check whether the same dependency has a newer latest version, then attempt to update/install that latest version.
package@latest for JavaScript packages or the unpinned package name for
Python.If the latest available version still gets blocked or is incompatible with the project, choose a safer alternative package yourself and continue. Prefer alternatives with active maintenance, similar APIs, and no known firewall block; only involve the user if the replacement changes product behavior or there is no reasonable substitute.
Remove language-specific packages.
Parameters:
language (str, required): Programming languagepackages (list[str], required): List of packages to uninstallReturns: Dict with success, message, and packages keys
Example:
const result = await uninstallLanguagePackages({
language: "nodejs",
packages: ["lodash"]
});
Install system-level dependencies via Nix.
Parameters:
packages (list[str], required): Nixpkgs attribute paths (NOT apt package names)Returns: Dict with success, message, packages, and output keys
Important: Use Nix package names, not apt/debian names:
xorg.libxcb, xorg.libX11ca-certificates is cacert in Nixlibxcb is xorg.libxcb in NixExample:
// Install system dependencies
const result = await installSystemDependencies({
packages: ["jq", "ffmpeg", "imagemagick"]
});
// Install X11 libraries (note the xorg. prefix)
const result2 = await installSystemDependencies({
packages: ["xorg.libxcb", "xorg.libX11"]
});
Remove system-level dependencies.
Parameters:
packages (list[str], required): Nixpkgs attribute paths to uninstallReturns: Dict with success, message, and packages keys
Example:
const result = await uninstallSystemDependencies({ packages: ["jq"] });
python or node commands fail, install the runtime firstlistAvailableModules before installProgrammingLanguage// Check available Python versions
const modules = await listAvailableModules({ language: "python" });
console.log(modules);
// Set up a Python Flask project
await installProgrammingLanguage({ language: "python-3.11" });
await installLanguagePackages({
language: "python",
packages: ["flask", "gunicorn", "sqlalchemy"]
});
// Set up a Node.js project with native dependencies
await installProgrammingLanguage({ language: "nodejs-20" });
await installLanguagePackages({
language: "nodejs",
packages: ["sharp", "canvas"]
});
await installSystemDependencies({
packages: ["pkg-config", "cairo", "pango", "libjpeg"]
});
// Clean up old language version
await uninstallProgrammingLanguage({ moduleId: "python-3.10" });