Manual CLI setup#

JS0 is the recommended starting point. This alternative uses terminal commands to install JITX and configure your first project without an AI agent. The examples use JITX 4.6.0.

Requirements#

  • Python 3.12 or later.

  • macOS, Windows, or a compatible Linux host; see Supported platforms.

  • A JITX account. Follow the invitation sent to your sign-up email address; check your spam folder if it has not arrived.

For proxy, certificate, or offline constraints, see Managed machines and remote hosts.

Install the CLI#

With pip#

Install the CLI with pip in a bootstrap virtual environment. Choose a Python interpreter that is version 3.12 or later.

macOS or Linux:

python3 -m venv ~/.venvs/jitx
source ~/.venvs/jitx/bin/activate
python -m pip install "jitx==4.6.0"

Windows PowerShell:

py -3 -m venv "$env:USERPROFILE\.venvs\jitx"
& "$env:USERPROFILE\.venvs\jitx\Scripts\Activate.ps1"
python -m pip install "jitx==4.6.0"

The virtual environment avoids modifying an externally managed Python installation. Deactivate this bootstrap environment after scaffolding, before creating the project’s environment below.

Alternative: uv#

You can use uv instead of pip to manage Python environments and packages. Install it using the command for your shell:

macOS or Linux:

curl -LsSf https://astral.sh/uv/install.sh | sh

Windows PowerShell:

powershell -c "irm https://astral.sh/uv/install.ps1 | iex"

Package-manager alternatives include brew install uv and winget install astral-sh.uv; see the uv installation guide.

Run the CLI in an isolated environment with uvx:

uvx --from "jitx==4.6.0" jitx --help

Use this bootstrap command before a project exists. Later steps install jitx into the project’s own environment.

Scaffold the project#

With the pip bootstrap environment active:

jitx project layout init myboard --name myboard
deactivate

If you chose uv instead:

uvx --from "jitx==4.6.0" jitx project layout init myboard --name myboard

The scaffold includes pyproject.toml, a myboard Python package containing a sample design and resistor component, .gitignore, and .vscode/ settings. Existing ordinary files are preserved unless you pass --force; .gitignore appends missing entries and VS Code launch/tasks files merge. See Project Basics and the project command reference for details.

Create a virtual environment#

Enter the project directory and create its environment with Python.

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 session:

Shell

Command

macOS or Linux

source .venv/bin/activate

Windows PowerShell

.\.venv\Scripts\Activate.ps1

Use deactivate to leave the environment.

Pin the JITX version#

Before installing, edit these two dependencies in pyproject.toml to use the versions in this guide:

dependencies = [
    "jitx==4.6.0",
    "jitxlib-standard==4.6.0",
]

Use >=4.6.0,<4.7 instead of an exact pin to allow updates within the 4.6 series. Keep the package and runtime versions compatible when upgrading.

Install the project’s dependencies#

With the project environment active:

python -m pip install -e .

If you use uv, uv pip install -e . is an alternative. The editable install lets the CLI import your design by module name and see source edits without reinstalling. It also installs jitx into this environment, so the remaining commands use jitx directly.

For a uv-managed project, uv sync can create the environment and install the project in one step. Commit uv.lock to share resolved dependency versions. If you do not activate the environment, prefix JITX commands with uv run.

Confirm the CLI can find your design:

jitx design find

Keep the returned design name for the build step.

Install the runtime#

JITX also needs its native runtime. With the project environment active, install the production runtime matching the installed Python package:

jitx runtime install --prod
jitx runtime introspect

To select a version explicitly, use jitx runtime install --prod --version 4.6.0. If VS Code already installed the matching runtime, use jitx runtime introspect to inspect it before installing again. See the runtime reference for maintenance commands.

Supported platforms#

The CLI automatically selects artifacts for Ubuntu, macOS, and Windows outside WSL. Detection does not guarantee compatibility with every OS version. On another Linux distribution or under WSL, select the Ubuntu artifact explicitly:

jitx runtime install --prod --target ubuntu

Compatibility still depends on the host’s libraries. Under WSL, this installs inside WSL; a Windows-host installation is separate.

Sign in#

With the runtime installed, authenticate with your JITX account:

jitx auth login
jitx auth show

Follow the browser sign-in link displayed by the CLI. The authentication reference covers other sign-in methods.

Continue to build and edit your design. If you later use an AI coding agent, follow JS0’s skills and validation instructions.