- Qbs Manual
- Command-Line Interface
- Qbs 2.6.1

# Command-Line Interface

The `qbs` command-line commands can be invoked as `qbs <command_name>`.

This reference summarizes the command-line commands. The authoritative source of up-to-date information is the respective help screen, which you get by calling `qbs help <command_name>`.

Some commands are described in context in the Usage section of the manual.

build | Builds a project.
clean | Removes the files generated during a build.
config | Manages Qbs settings, such as preferences and profiles.
config-ui | Opens a GUI application for managing Qbs settings, such as preferences and profiles.
create-project | Creates a Qbs project from an existing set of source files.
dump-nodes-tree | Dumps the nodes in the build graph to stdout.
generate | Invokes a project generator, for example to create project files for another build tool.
help | Shows general or command-specific help.
install | Installs a project.
list-products | Lists all products in the given project.
resolve | Resolves a project without building it.
run | Runs an executable generated by building a project.
session | Starts a session for interacting with an IDE
setup-android | Creates Qbs profiles for Android SDK and NDK installations.
setup-qt | Creates Qbs profiles for Qt installations.
setup-toolchains | Creates Qbs profiles for toolchains, such as GCC or MSVC.
shell | Opens a shell with a product's environment.
show-version | Prints the Qbs version.
status | Shows the status of files in the project directory.
update-timestamps | Marks the build as up-to-date.