Additional Features β
Pre-installing and configuring every possible package would compromise a flexible workspace footprint. Instead, we developed an opt-in method to seamlessly install and configure features at your discretion.
Behind the scenes, we are simply running an Ansible playbook to install the desired feature.
Installing Features β
We provide two methods for installing additional features in the Kloud Workspace. You can choose the method that best fits your needs.
Install at Boot β
Kloud Workspace evaluates the WS_FEATURES_ADDITIONAL_FEATURES environment variable at startup to determine which features to install automatically.
docker run \
-e WS_FEATURES_ADDITIONAL_FEATURES="dotnet jupyter" \
ghcr.io/kloudkit/workspace:v0.1.2Manual Installation β
To manually install a feature, run the following command:
# Help information
ws feature install -h
# Example: installing PHP
ws feature install phpAs previously mentioned, all features are powered by Ansible playbooks. These playbooks are located in the /usr/share/workspace/features directory, as specified by the WS_FEATURES_DIR environment variable (which is not intended to be overridden).
The directory location can be overridden with the --root flag when installing. In the example below, we use /alternate, but any directory you have access to will work. The command will look for a playbook at /alternate/php.yaml:
ws feature install php --root /alternateOptional Variables β
As mentioned above, features are installed using playbooks. Certain playbooks support additional variables for customization.
To do this, use the --opt flag (equivalent to Ansible's --extra-vars), zero or more times, as shown in the example below:
ws feature install dagger --opt dagger_version=0.13.3Custom Features β
You can create custom playbooks for specific needs. The template below offers a starting point. Ensure that hosts: workspace remains unchanged, as this targets the active workspace session.
π‘ TIP
It may also help to explicitly mention that the custom playbook template can be saved as cool.yaml in the /alternate directory.
# /alternate/cool.yaml
- name: Install a cool new feature
gather_facts: false
hosts: workspace
tasks:
- name: Just saying hello
ansible.builtin.debug:
msg: Hello world! πws feature install custom --feature cool --root /alternateFeature Store β
Some features require packages from third-party APT repositories (i.e. cloudflared, gcloud, gh, etc.) or binary artifacts (i.e. sops, composer, etc.).
By default, Kloud Workspace enables the individual vendor repositories and artifacts at install time.
When the WS_FEATURES_STORE_URL environment variable is set, packages and artifacts are fetched from the ws-feature-store instead of from individual vendor repositories.
Use Cases β
- Airgapped (offline) environments: run the feature store on a local network with no internet access.
- High-latency on-prem: avoid slow connections to upstream vendor CDNs by serving packages locally.
- Quick caching: reduce startup time by fetching from a nearby mirror instead of multiple remote sources.
Quick Start β
Point the workspace at a running feature store instance:
docker run \
-e WS_APT_DISABLE_REPOS="*" \
-e WS_FEATURES_STORE_URL="http://feature-store.local" \
-e WS_FEATURES_ADDITIONAL_FEATURES="gh terraform" \
ghcr.io/kloudkit/workspace:v0.1.3The feature store image is available at ghcr.io/kloudkit/ws-feature-store. Tags are released monthly with the latest package updates and follow a :v{YYYY}.{MM} convention (e.g. :v2026.02).
π‘ TIP
Combine with WS_APT_DISABLE_REPOS set to * to ensure no traffic leaves the local network.
Available Features β
βΉοΈ INFO
Have a feature in mind that we havenβt covered? Feel free to suggest it or contribute directly.
For more information, visit our contribution guide.
| Feature | Description | Since | Store |
|---|---|---|---|
bun | Bun JavaScript runtime and package manager | v0.1.3 | β |
cloudflared | Cloudflare tunnel CLI | β | |
codex | codex CLI | v0.0.20 | |
conan | Conan CLI and related tools | v0.0.21 | |
continue | cn CLI and continue extension | ||
cpp | C++ and related tools | β | |
dagger | dagger.io CLI and SDK | ||
doctl | DigitalOcean CLI | v0.1.3 | |
dotnet | .NET framework and related extensions | β | |
gcloud | Google Cloud CLI for GCP | β | |
gh | GitHub CLI | β | |
helm-extras | Helm plugins and related extensions | v0.1.3 | β |
jf | JFrog CLI | β | |
jupyter | Jupyter packages and related extensions | ||
oc | OpenShift CLI | v0.1.3 | β |
opencode | OpenCode CLI and related extension | v0.1.1 | |
php | PHP and related extensions | β | |
rclone | rclone CLI | β | |
restic | Restic CLI | β | |
rust | Rust and Cargo | ||
snyk | Snyk CLI and related extension | v0.0.20 | |
sops | SOPS CLI | v0.0.21 | β |
talos | Talos CLI | β | |
terraform | Terraform packages and related extensions | β |