jnc init
Creates a new workspace. This command generates a manifest file (pixi.toml by default) and supporting files to get you started with dependency management and task running.
The manifest format can be customized with --format to generate a pyproject.toml instead. You can also bootstrap a workspace from an existing conda environment.yml file.
Usage
Arguments
| Argument | Description |
|---|---|
PATH | Where to place the workspace. Defaults to the current directory (.). |
Options
| Option | Description |
|---|---|
-c, --channel <CHANNEL> | Channel to use in the workspace. Can be specified multiple times. Conflicts with --import. |
-p, --platform <PLATFORM> | Platforms that the workspace supports. Can be specified multiple times. |
-i, --import <ENVIRONMENT_FILE> | Path to a conda environment.yml file to bootstrap the workspace from. |
--format <FORMAT> | The manifest format to create. Values: pixi, pyproject. Conflicts with --import. |
-s, --scm <SCM> | Source control management provider. Generates appropriate .gitignore and .gitattributes files. Values: github, gitlab, codeberg. |
--conda-pypi-map <MAPPING> | Mapping between conda channels and PyPI indexes, as comma-separated CHANNEL=URL pairs. |