---
title: nextflow launch
description: Reference for the nextflow launch command. Launch a workflow in Seqera Platform.
---

# `nextflow launch`

<AddedInVersion version="25.10" />

Launch a workflow in [Seqera Platform](https://seqera.io/platform/).

## Usage

```console
$ nextflow launch [options] [project]
```

## Description

The `launch` command launches a pipeline run in Seqera Platform. To log in and configure the execution environment, use the [`auth`](./auth) command.

## Options

##### `-compute-env`

The compute environment to run the workflow on.

##### `-c, -config`

A configuration file to add to the configuration set.

##### `-entry`

The entry workflow to run.

##### `-h, -help`

Print the command usage.

##### `-latest`

Pull the latest changes before the run.

##### `-name`

A mnemonic name to assign to the run.

##### `-main-script`

The script file to execute when launching a project directory or repository. Should be a path relative to the project root. For example, `-main-script subproject/main.nf`.

##### `-params-file`

A JSON or YAML file to load parameters from.

##### `-profile`

A configuration profile.

##### `-resume`

Resume the run using cached results from a previous run.

##### `-r, -revision`

The project revision to run. Can be a git branch, tag, or commit hash.

##### `-stub-run, -stub`

Replace process scripts with command stubs.

##### `-user-secret`

<AddedInVersion version="26.04" />

Name of user secret to use in the pipeline. Can be specified multiple times.

##### `-w, -work-dir`

The directory where intermediate result files are stored.

##### `-workspace`

The Seqera Platform workspace name.

##### `-workspace-secret`

<AddedInVersion version="26.04" />

Name of workspace secret to use in the pipeline. Can be specified multiple times.

## Examples

Run a pipeline in Seqera Platform:

```console
$ nextflow launch nextflow-io/hello
```
