Create another project from the CLI#

Use this guide after JS0 or manual CLI setup. It covers the files and Python environment for an additional project.

Scaffold the project#

Run the CLI from your configured environment:

jitx project layout init myboard --name myboard

init writes a Python package, pyproject.toml, a sample design, and editor configuration. Existing ordinary files are preserved unless you pass --force. See the project command reference for the file operations, and Project Basics for the generated structure.

Create a virtual environment#

Use Python 3.12 or later to create the project’s own environment.

macOS or Linux:

cd myboard
python3 -m venv .venv

Windows PowerShell:

cd myboard
py -3 -m venv .venv

If you use uv, uv venv is an alternative to Python’s venv command. Activate the environment in each terminal:

Shell

Command

macOS or Linux

source .venv/bin/activate

Windows PowerShell

.\.venv\Scripts\Activate.ps1

Pin the JITX version#

Review the dependencies in pyproject.toml before installing. Use the release line chosen during setup and keep collaborators on compatible package and runtime versions. Project Basics explains dependency constraints and upgrades.

Install the project’s dependencies#

Install the project in editable mode so the CLI can import your design and see source edits:

python -m pip install -e .

If you use uv, uv pip install -e . is an alternative. For a project managed by uv, uv sync creates the environment and installs the project, retaining resolved versions in uv.lock.

List your designs#

jitx design find

Use the design name returned by this command when building and editing your design.

Runtime and account checks#

Use JS0 if runtime or account validation is incomplete, or follow the manual runtime setup. For maintenance of an existing installation, see the runtime and authentication references.