{"library":"hatch","code":"# Create a new Python project\nhatch new \"My Awesome Project\"\n\n# Navigate into the project directory\ncd \"my-awesome-project\"\n\n# Run a script (e.g., 'python -m my_awesome_project')\n# This assumes a default `run` script is defined in pyproject.toml\nhatch run python -c \"print('Hello from Hatch!')\"\n\n# Or enter a shell environment\n# hatch shell","lang":"bash","description":"Hatch is primarily a CLI tool. This quickstart demonstrates creating a new project and running a simple command within its managed environment. The `hatch new` command scaffolds a new project with a `pyproject.toml` file, and `hatch run` executes commands within the project's isolated environment.","tag":null,"tag_description":null,"last_tested":"2026-04-24","results":[{"runtime":"python:3.10-alpine","exit_code":1},{"runtime":"python:3.10-slim","exit_code":1},{"runtime":"python:3.11-alpine","exit_code":1},{"runtime":"python:3.11-slim","exit_code":1},{"runtime":"python:3.12-alpine","exit_code":1},{"runtime":"python:3.12-slim","exit_code":1},{"runtime":"python:3.13-alpine","exit_code":1},{"runtime":"python:3.13-slim","exit_code":1},{"runtime":"python:3.9-alpine","exit_code":1},{"runtime":"python:3.9-slim","exit_code":1}]}