# Backend Virtual Environment

> Activate the python virtual environment in the backend directory. Use when this capability is needed.

- Skill: `tomevault-io/backend-virtual-environment` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/backend-virtual-environment`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/backend-virtual-environment/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/backend-virtual-environment

---


# Activate Python Virtual Environment

Most task can be done via uv, but in certain cases you may want to run python commands
directly, in that case you need to activate the python virtual environment first.

```bash
cd ./backend
source .venv/bin/activate
```

if there is no virtual environment, create one:

```bash
cd ./backend
uv sync
```

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/jpmolinamatute) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

