You can also check out our video tutorial.
npm install -g @cto.ai/ops
To check installation, run:
If you see a list of commands as output, you're good to go!
If you have already created an account, you can sign in:
Otherwise, you can create a new account:
Follow the prompts to set up your account.
Get started by exploring the current Ops. Run:
ops run @cto.ai/hello-world
hello-world Op demonstrates some of the features of the SDK; more information about what you can do with the SDK is coming soon.
You will be prompted to create either a Command or a Workflow. For this tutorial, select Command.
After providing a name and description for your Op, a new directory will be created which contains the source code.
ops run my-first-op
run command builds the op first, then runs it.