Optimizely Frontend Hosting: Deploy Without PowerShell Using the @kunalshetye/opticloud Package
5 min read

Optimizely Frontend Hosting: Deploy Without PowerShell Using the @kunalshetye/opticloud Package

Easily deploy headless apps to Optimizely Frontend Hosting without PowerShell using the @kunalshetye/opticloud NPM package. A simple CLI for fast, modern, and developer-friendly DXP deployments with GitHub Actions support.

Optimizely Frontend Hosting
Optimizely DXP
Headless CMS
CI/CD
GitHub Actions
opticloud
Deployment Automation
Frontend Development

In my last two blog posts, I walked through how to get started with deploying a headless app to Optimizely Frontend Hosting using PowerShell and the EpiCloud module. I also demonstrated how to automate the deployment using a script or GitHub Actions.

While that approach works great, it can be overwhelming for developers who aren’t familiar with PowerShell or the Optimizely Deployment API. Fortunately, there's now a much easier way to get started - with a single command and no PowerShell knowledge required.

Enter @kunalshetye/opticloud - a fantastic NPM package built by Kunal Shetye that takes care of the entire deployment logic for you. I’ve recently started using it myself, and I was immediately impressed by how fast and simple it is. If you're a frontend developer deploying to Optimizely DXP for the first time, this tool should absolutely be your first choice.

In this article, I’ll show you how easy it is to deploy a headless app using this modern CLI.


Deployment Without PowerShell - The @kunalshetye/opticloud NPM Package

For many developers, the first contact with Optimizely happens through the SaaS CMS, and they often have no experience with Optimizely DXP or PowerShell-based deployments. In these cases, the  @kunalshetye/opticloud package is an excellent solution.

This modern CLI tool, created by Kunal, handles the entire deployment process in a simple and developer-friendly way - whether you're deploying a headless app, CMS or commerce project.


🚀 How to Deploy Using the Optimizely DXP CLI

1. Install the Package

npm install -g @kunalshetye/opticloud

2. Authenticate with DXP

opticloud auth:login

You’ll be prompted to enter:

  • Client Key (from the DXP Cloud portal)

  • Client Secret

  • Project ID (the GUID of your DXP project)

3. Use the ship Command

Once authenticated, you can deploy your app using a single command:

opticloud ship ./ \
  --target=test1 \
  --type=head \
  --prefix=optimizely-one \
  --version=1.0.0 \
  --output=./

The ship command is the ultimate streamlined solution for Optimizely DXP deployments. It orchestrates everything from packaging to deployment in one step.

4. Automate It with GitHub Actions

Even better, opticloud comes with built-in support for GitHub Actions, making it easy to set up continuous deployment pipelines.

👉 Check out the official GitHub Actions documentation here: GitHub Actions Docs


🔚 Summary

Kunal has done an outstanding job building a modern deployment tool that eliminates the complexity of PowerShell and the legacy EpiCloud module. It’s now easier than ever for developers - especially frontend engineers who are new to Optimizely - to deploy to DXP with confidence.

With opticloud, you can:

  • Deploy headless apps, CMS sites, commerce platforms, and even SQL databases

  • Use GitHub Actions for seamless CI/CD

  • Avoid the steep learning curve of traditional DXP tooling

📘 Highly recommended: Explore the full documentation here → opticloud on NPM