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.

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

GraphQL vs. ReST - which works better for your application? This article compares similarities and key differences, and provides considerations for when to choose one or the other.

We’re excited to announce the official release of Gatsby Preview for Cosmic that enables you to add powerful content preview functionality to your Cosmic Gatsby website.

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.

We're excited to announce some big updates to our branding and website design. We have now changed our name to Cosmic. By dropping the JS from our name, we intend to not only be the best CMS for JavaScript developers, but also for developers using any programming language.

Get Started with Cosmic

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