Skip to content

Quick start

This page takes you from installation to a successful operation. No account or API token is needed for the example.

You need Rust and Cargo for the current installation method.

Terminal window
cargo install --git https://github.com/picoo-dev/picoo.git --locked

Check the installation:

Terminal window
picoo --help
picoo doctor

Describe the result you want:

Terminal window
picoo search "say hello to a person"

The result shows an operation ID and its inputs. For this example, use picoo/demo/hello.

Terminal window
picoo run picoo/demo/hello --input name=Nahid

You should receive a result like this:

{
"result": {
"greeting": "Hello, Nahid!"
}
}

If the operation is not installed, Picoo fetches it from the configured Picoo Registry. Later runs use the installed copy.

Pin a version when the same input must use the same operation release:

Terminal window
picoo run picoo/demo/hello --version 0.1.0 --input name=Nahid

Add --offline after installation to prevent Registry access:

Terminal window
picoo run picoo/demo/hello --offline --version 0.1.0 --input name=Nahid

You have now:

  • Installed Picoo.
  • Checked the required runtimes.
  • Found an operation by describing a task.
  • Run a versioned operation with typed input.

Next, create your first operation.