Cosmic CLI Apps Release 🛠️🚀

Cosmic Blog
Cosmic Blog Cosmic CLI Apps Release 🛠️🚀
by Tony Spiro on April 18, 2018

We're excited to announce new features for the Cosmic CLI which are sure to speed up your workflow using Cosmic Apps.

To install the latest release, in your preferred command-line tool, run the following command:

npm i cosmic-cli -g

With this latest Cosmic CLI release (1.1.0) you can now:

🔍 Search Apps
You can search available Cosmic Apps with a simple command, which will give you a list of available apps that include a given keyword.

cosmic browse-apps -q graphql

Viewing apps in the browser is as easy as a command as well.

cosmic view-app portfolio-website


⬇️ Install and Run Apps Locally
With a simple command, you can now install an App to your Bucket and download it locally.  (CAREFUL! This will overwrite your entire Bucket contents with the App data) You will need to use the login, and use-bucket commands first.

cosmic login
cosmic use-bucket your-bucket-slug
cosmic install-app portfolio-website


Then run the app.  It will automatically be connected to your Bucket.

cosmic start-app


🚀 Deploy Apps
You can also deploy the App to the Cosmic App server by running:

cosmic deploy-app


You can also view the CLI steps on each App page by clicking the button "Install via CLI":


The Cosmic CLI is a great way to use all of the powerful features of the Cosmic API from the comfort of your command-line tool.  With this release, you now have some powerful capabilities to demo and deploy Cosmic Apps for faster development and collaboration.

If you have any questions about the Cosmic CLI, join us on Slack and reach out to us on Twitter.

You may also like


Introducing Merge Requests, a huge leap forward for content management that brings the power of Git to your content workflows.

For the last few months, we've been hard at work building an entirely new Cosmic dashboard. Built from the ground up, our new dashboard promises to be faster, easier to use, and more beautiful than any CMS dashboard you have ever seen.

What is headless commerce? What does a headless commerce architecture look like? And how do you build one? And do you need to in the first place? Get all your headless commerce questions answered right here.

Static sites are in the middle of a comeback - in this article, we cover everything you need to know about static site generators.

In this episode of the Cosmic Developer Spotlight Series, we chatted with Lydia Hallie, remote software developer and active contributor on Dev.to. She has been getting a lot of attention for her easy-to-follow (and beautifully visual!) educational resources for JavaScript. Follow Lydia on Twitter, GitHub, LinkedIn, and enjoy the conversation.

At Cosmic, it's our mission to help teams of developers and content creators build great content-powered apps together. We're happy to announce the new Additional Users Add-On to offer a flexible pricing option for growing teams.

Get Started with Cosmic

Build personal projects for free. Add your team at unbeatable prices.
Start Building Talk to Sales