# Introduction to RocketBlend

A brief introduction to RocketBlend.

{% hint style="warning" %}
Please note that RocketBlend is still in the early stages of development and may undergo significant changes as it continues to evolve.
{% endhint %}

## What is RocketBlend?

[RocketBlend ](https://github.com/rocketblend/rocketblend)is a command line (CLI) dependency manager and toolkit for the 3D graphics software, [Blender](https://www.blender.org/). It helps manage builds, add-ons, renders, and offers extended blender commands for your projects.

## Features

* Define dependencies for your projects, including builds and add-ons, and have them set up correctly when you open your project.
* Render animations with improved output path templating, versioning, resumability, render engine selection, and more.
* Use arguments in any order without needing to remember specific commands or the order of flags, unlike Blender's command line arguments.
* Lightweight and requires no GUI or background processes.
* Customisable, with all data stored in .json files instead of internal .blend file data blocks or file headers.
* Write your own packages for any Blender build or add-on, with support for alternative forks of Blender, such as Bforartists and K-Cycles.
* Host your own library of packages, providing flexibility beyond the official ones. Fix broken or missing packages and continue working. Libraries are just git repositories containing `rocketpack.json` files defining an add-on or build. You can fork existing ones or create your own for use in your projects.
* Cross-platform compatibility with macOS, Windows, and Linux.
* Open source and free.

## Want to jump right in?

Feeling like an eager beaver? Jump into the quick start guide to start using RocketBlend

{% content-ref url="/pages/oqSrKRFeI3xYzZ9lyWEw" %}
[Quick Start](https://docs.rocketblend.io/getting-started/quick-start)
{% endcontent-ref %}

## Want a deeper dive?

Dive a little deeper and start exploring our references documentation to get an idea of everything that's possible with RocketBlend:

{% content-ref url="/pages/9aAeClicFzDXm2Or96aO" %}
[CLI](https://docs.rocketblend.io/reference/cli)
{% endcontent-ref %}

## Not a Fan of Command Lines?

Give the desktop application a try. It offers most of the same functionality as the CLI, plus some extra features, all within an easy-to-use interface.

{% @github-files/github-code-block url="<https://github.com/rocketblend/rocketblend-desktop>" %}


# Quick Start

A quick guide to getting started with RocketBlend.

## Install RocketBlend <a href="#install-helm" id="install-helm"></a>

Before getting started with RocketBlend, ensure it's installed on your system. You can use tools like `go install`, package managers like Homebrew and Scoop or grab a pre-compiled binary at [the official releases page](https://github.com/rocketblend/rocketblend/releases).

For more details, or for other options, see [the installation guide](https://docs.rocketblend.io/getting-started/installation).

## Create a new project <a href="#initialize-a-helm-chart-repository" id="initialize-a-helm-chart-repository"></a>

Once you have everything ready, you can create your first project! Open a terminal in your desired location and run the command `rocketblend new hello-world` .

```shell-session
$ rocketblend new hello-world
⣻ Creating project...
```

{% hint style="info" %}
To see a more detailed output of what's happening, add the `-v` flag.
{% endhint %}

Once complete you'll have a new `.blend` project and a `.rocketblend` folder used to store all dependency data for your project.

```shell-session
$ ls
hello-world.blend  .rocketblend
```

## Install a package <a href="#install-an-example-chart" id="install-an-example-chart"></a>

To install a package, you can run the `rocketblend install` command. RocketBlend uses references to install packages from remote sources such as Github. You can create your own packages or use ones already defined online, but the easiest way to get started is to use the [official library](https://github.com/rocketblend/official-library).

```shell-session
$ rocketblend install blender/4.1.1
⣯ Installing package...
```

In this example, we're changing the project to use a Blender 4.1.1 build.

{% hint style="info" %}
If you have purchased a build or add-on, you can create a custom package definition locally. Then use the `rocketblend insert` command to insert it into your library.
{% endhint %}

Running this command without specifying a package will install all dependencies for a project. This is particularly helpful when sharing projects across multiple machines.

## Open a project <a href="#uninstall-a-release" id="uninstall-a-release"></a>

With the project successfully configured, you can initiate it by executing the `rocketblend run` command. Blender will then launch with all the necessary dependencies defined for the project.

By default, RocketBlend preserves your current add-ons and simply adds the new ones you specify, ensuring that projects not using the tool remain unaffected.

If you prefer a more controlled setup, you can enable strict mode by setting it to true in the `.rocketblend/profile.json` file. With strict mode enabled, only the add-ons listed in that file will be active, and all others—including default add-ons like Cycles—will be disabled.

{% hint style="warning" %}
Any changes to add-ons are temporary and only for that Blender session. They won't be saved to your user preferences, therefore the add-on menu in Blender might show incorrectly. This is done to retain any previously defined add-on preferences.
{% endhint %}


# Installation

How to install

## Homebrew (macOS)

For macOS users, you can install using [Homebrew](https://brew.sh/):

```shell-session
$ brew tap "rocketblend/homebrew-tap"
$ brew install rocketblend
```

## Scoop (Windows)

For Windows users, you can install using [Scoop](https://scoop.sh/):

```powershell
scoop bucket add rocketblend "https://github.com/rocketblend/scoop-bucket"
scoop install "rocketblend/rocketblend"
```

## Pre-compiled binaries

For users who prefer to install pre-compiled binaries, we provide pre-built executables for Windows, macOS, and Linux. These binaries are available on the [Releases](https://github.com/rocketblend/rocketblend/releases) page of our GitHub repository.

### Windows

To install pre-compiled binaries on Windows, follow these steps:

#### Prerequisites

1. [PowerShell](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell) (pre-installed on Windows 10 and later)

#### Installation steps

1. Open a PowerShell prompt.
2. Set the execution policy to allow running local scripts if not already set: `Set-ExecutionPolicy RemoteSigned -Scope CurrentUser`
3. Download and run the `install.ps1` script: `Invoke-WebRequest -Uri "https://raw.githubusercontent.com/rocketblend/rocketblend/master/install.ps1" -OutFile "install.ps1" .\install.ps1`
4. Restart your PowerShell or Command Prompt session for the updated `PATH` to take effect.

```powershell
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/rocketblend/rocketblend/master/install.ps1" -OutFile "install.ps1"
.\install.ps1
```

### Linux and macOS

To install pre-compiled binaries on Linux or macOS, follow these steps:

1. Open a terminal window.
2. Download and run the `install.sh` script:

```shell-session
$ curl -LO "https://raw.githubusercontent.com/rocketblend/rocketblend/master/install.sh"
$ chmod +x install.sh
$ ./install.sh
```

## Source

For users wanting to install directly from source, you can use the `go install` command:

```shell-session
$ go install github.com/rocketblend/rocketblend/cmd/rocketblend@latest
```

This command will download the latest version of the `rocketblend` source code and compile the binary for your platform. Ensure you have Go 1.26.X or later installed on your system.


# CLI

Learn more about the CLI tool

Dive into the specifics of the CLI tool, by checking out our reference documentation.

## Commands

Everything related to its commands:

{% content-ref url="/pages/tDK5McpsI2s9aSutNPVC" %}
[Commands](https://docs.rocketblend.io/reference/cli/commands)
{% endcontent-ref %}

## Configuration

Configuring RocketBlend

{% content-ref url="/pages/juxNjezTPpDj8k7WzjQ8" %}
[Configuration](https://docs.rocketblend.io/reference/cli/configuration)
{% endcontent-ref %}


# Commands

Here you’ll find the list of CLI commands for Rocketblend, with help info on their usage.

{% content-ref url="/pages/kqHenpUjDL6MIh40HQdm" %}
[Rocketblend](https://docs.rocketblend.io/reference/cli/commands/commands)
{% endcontent-ref %}

{% content-ref url="/pages/jrqp5x9FdrM3AHsY3xlX" %}
[New](https://docs.rocketblend.io/reference/cli/commands/open)
{% endcontent-ref %}

{% content-ref url="/pages/pvrT8m41mwm8DoOo2x2b" %}
[Install](https://docs.rocketblend.io/reference/cli/commands/install)
{% endcontent-ref %}

{% content-ref url="/pages/GhTefM8O1pDJ9rcMcpk8" %}
[Uninstall](https://docs.rocketblend.io/reference/cli/commands/uninstall)
{% endcontent-ref %}

{% content-ref url="/pages/JoXjufOd4kzD8AMiczQf" %}
[Run](https://docs.rocketblend.io/reference/cli/commands/run)
{% endcontent-ref %}

{% content-ref url="/pages/aqteSbZqf5e30fEQw7PZ" %}
[Render](https://docs.rocketblend.io/reference/cli/commands/render)
{% endcontent-ref %}

{% content-ref url="/pages/83ytBuUJcuvBlwiac5OV" %}
[Resolve](https://docs.rocketblend.io/reference/cli/commands/resolve)
{% endcontent-ref %}

{% content-ref url="/pages/i6m6s9nAdhKZwVHZcKh1" %}
[Describe](https://docs.rocketblend.io/reference/cli/commands/get)
{% endcontent-ref %}

{% content-ref url="/pages/4mn6IlHmwtHJ3uE1lvPW" %}
[Config](https://docs.rocketblend.io/reference/cli/commands/init)
{% endcontent-ref %}

{% content-ref url="/pages/5kDUREi3QXTKhtm8K5CF" %}
[Completion](https://docs.rocketblend.io/reference/cli/commands/completion)
{% endcontent-ref %}


# Rocketblend

An improved command-line interface for Blender.

## Synopsis

A dependency manager for Blender projects.

Common actions for RocketBlend:

* rocketblend new: create a new project
* rocketblend describe: gives information for a given package
* rocketblend install: add a dependency to a project
* rocketblend run: runs a project
* rocketblend render: renders out a project

Documentation is available at <https://docs.rocketblend.io/>

### Usage

```shell-session
$ rocketblend [commands] [flags]
```

### Options

```shell-session
  -d, --directory string   working directory for the command (default ".")
  -h, --help               help for rocketblend
  -l, --log-level string   log level (debug, info, warn, error) (default "info")
  -v, --verbose            enable verbose logging
      --version            version for rocketblend
```


# New

Creating a new project

## Synopsis

Creates a new project with a specified name.

```shell-session
$ rocketblend new [name] [flags]
```

## Options

```shell-session
 -h, --help        help for new
 -o, --overwrite   overwrite the project if one already exists
```

### Options inherited from parent commands

```shell-session
  -d, --directory string   working directory for the command (default ".")
  -l, --log-level string   log level (debug, info, warn, error) (default "info")
  -v, --verbose            enable verbose logging
```


# Install

Adding dependencies

## Synopsis

Adds dependencies to the current project and installs them.

```shell-session
$ rocketblend install [reference] [flags]
```

## Options

```shell-session
  -u, --update   refreshes a package definition before installing it
  -h, --help     help for install
```

### Options inherited from parent commands

```shell-session
  -d, --directory string   working directory for the command (default ".")
  -l, --log-level string   log level (debug, info, warn, error) (default "info")
  -v, --verbose            enable verbose logging
```


# Uninstall

Removing Dependencies

## Synopsis

Remove dependencies on the current project

<pre class="language-shell-session"><code class="lang-shell-session"><strong>$ rocketblend uninstall [reference] [flags]
</strong></code></pre>

## Options

```shell-session
  -h, --help     help for uninstall
```

### Options inherited from parent commands

```shell-session
  -d, --directory string   working directory for the command (default ".")
  -l, --log-level string   log level (debug, info, warn, error) (default "info")
  -v, --verbose            enable verbose logging
```


# Run

Running a project

## Synopsis

Run the project in the current working directory.

```shell-session
$ rocketblend run [flags]
```

## Options

```shell-session
  -h, --help         help for run
```

### Options inherited from parent commands

```shell-session
  -d, --directory string   working directory for the command (default ".")
  -l, --log-level string   log level (debug, info, warn, error) (default "info")
  -v, --verbose            enable verbose logging
```


# Render

Rendering a project

## Synopsis

Render project

```shell-session
$ rocketblend render [flags]
```

## Options

```shell-session
  -y, --auto-confirm    overwrite any existing files without requiring confirmation
  -c, --continue        continue rendering from the last rendered frame in the output directory
  -e, --end int         frame to end rendering at, 0 for single frame
  -g, --engine string   override render engine (cycles, eevee, workbench)
  -f, --format string   output format for the rendered frames (default "PNG")
  -h, --help            help for render
  -j, --jump int        number of frames to step forward after each rendered frame (default 1)
  -o, --output string   output path for the rendered frames (default "//output/{{.Revision}}/{{.Name}}-#####")
  -r, --revision int    revision number for the output directory, 0 for auto-increment
  -s, --start int       frame to start rendering from (default 1)
```

### Options inherited from parent commands

```shell-session
  -d, --directory string   working directory for the command (default ".")
  -l, --log-level string   log level (debug, info, warn, error) (default "info")
  -v, --verbose            enable verbose logging
```


# Resolve

Resolving project information

## Synopsis

Output the resolved dependencies and paths for the project on the local machine.

```shell-session
$ rocketblend resolve [flags]
```

## Options

```shell-session
  -h, --help            help for resolve
  -o, --output string   output format (table, json) (default "table")
```

### Options inherited from parent commands

```shell-session
  -d, --directory string   working directory for the command (default ".")
  -l, --log-level string   log level (debug, info, warn, error) (default "info")
  -v, --verbose            enable verbose logging
```


# Insert

Add a local package directly into your library

## Synopsis

Allows for `rocketpacks.yaml` to be directly inserted into your library without the need to host it in a remote repository. This can be useful for testing package definitions or for purchased addons that don't have a public download source.&#x20;

```shell-session
$ rocketblend insert [reference]
```

## Options

### Options inherited from parent commands

```shell-session
  -d, --directory string   working directory for the command (default ".")
  -l, --log-level string   log level (debug, info, warn, error) (default "info")
  -v, --verbose            enable verbose logging
```


# Describe

Describing a package

## Synopsis

Get the definition of a package

```shell-session
$ rocketblend describe [reference] [flags]
```

## Options

```shell-session
  -h, --help            help for describe
  -o, --output string   output format (table, json) (default "table")
```

### Options inherited from parent commands

```shell-session
  -d, --directory string   working directory for the command (default ".")
  -l, --log-level string   log level (debug, info, warn, error) (default "info")
  -v, --verbose            enable verbose logging
```


# Config

Managing configuration

## Synopsis

The config command allows you to manage your RocketBlend configuration file directly from the command line.

```shell-session
$ rocketblend config [key] [flags]
```

## Options

```shell-session
  -h, --help         help for config
  -s, --set string   set a value in the config file
```

### Options inherited from parent commands

```shell-session
  -d, --directory string   working directory for the command (default ".")
  -l, --log-level string   log level (debug, info, warn, error) (default "info")
  -v, --verbose            enable verbose logging
```


# Completion

Generate autocompletion scripts for the specified shell

## Synopsis <a href="#synopsis" id="synopsis"></a>

Generate the autocompletion script for rocketblend for the specified shell. See each sub-command's help for details on how to use the generated script.

```shell-session
$ rocketblend completion [command] [flags]
```


# Configuration

Customising RocketBlend

### Default Config

{% code title="config.json" fullWidth="false" %}

```json
{
  "platform": "<windows/macos/linux>",
  "defaultbuild": "github.com/rocketblend/official-library/packages/v0/builds/blender/4.2.2",
  "installationspath": "./installations",
  "packagespath": "./packages",
  "loglevel": "info",
  "aliases": {
    "github.com/rocketblend/official-library/packages/v0/addons": "addons",
    "github.com/rocketblend/official-library/packages/v0/builds": "builds",
    "github.com/rocketblend/official-library/packages/v0/builds/blender": "blender"
  },
  "trusteddomains": [
    "download.blender.org"
  ],
  "untrusteddomainpolicy": "warn"
}
```

{% endcode %}

### Download Security

RocketBlend includes download security to help protect against downloading files from untrusted domains.

**Trusted Domains** (`trusteddomains`): List of domains from which files can be safely downloaded. Default: `download.blender.org`

**Untrusted Domain Policy** (`untrusteddomainpolicy`): How to handle downloads from domains not in the trusted list:

* `block` - Prevents downloads (most secure)
* `warn` - Logs warning but allows download (default)
* `allow` - Permits downloads without warnings

#### Examples

```bash
# Set trusted domains (replaces entire list)
rocketblend config trusteddomains --set '["download.blender.org", "github.com"]'

# Block downloads from untrusted domains
rocketblend config untrusteddomainpolicy --set "block"

# Allow all downloads
rocketblend config untrusteddomainpolicy --set "allow"
```


# Getting Setup

How to set up an environment for developing on RocketBlend.

## Prerequisites <a href="#prerequisites" id="prerequisites"></a>

* Linux or Windows x64
* Go 1.26.X
* Git
* GoReleaser (Release Only)
* Cosign (Release Only)

## Building RocketBlend <a href="#building-helm" id="building-helm"></a>

We use Make to build our programs. The simplest way to get started is:

{% tabs %}
{% tab title="CLI" %}

```bash
make build
```

{% endtab %}
{% endtabs %}

## Running tests <a href="#running-tests" id="running-tests"></a>

```bash
make check
```

## Creating a Release

```
make dry
make release version=v1.5.0
```


# Related Projects and Documentation

A collection of related projects and/or documentation associated with RocketBlend.

## RocketBlend Desktop

{% @github-files/github-code-block url="<https://github.com/rocketblend/rocketblend-desktop>" %}

## Official Library

{% @github-files/github-code-block url="<https://github.com/rocketblend/official-library>" %}

## RocketBlend Collector

{% @github-files/github-code-block url="<https://github.com/rocketblend/rocketblend-collector>" %}


# Troubleshooting

Common solutions to issues you might face

Nothing here yet.


