# Clone and Run Codename One Demos In Single Line of Code

DevFeed: [Clone and Run Codename One Demos In Single Line of Code](<https://devfeed.tech/articles/clone-and-run-codename-one-demos-in-single-line-of-code-19313.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/git-clone-and-run-project-from-cli/>)

Author: Steve Hannah

Published: 2017-11-27T00:00:00Z

Content type: tutorial

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Demo](<https://devfeed.tech/topics/demo.md>), [simulator](<https://devfeed.tech/topics/simulator.md>), [Code](<https://devfeed.tech/topics/code.md>), [Tool](<https://devfeed.tech/topics/tool.md>), [GitHub](<https://devfeed.tech/topics/github.md>)

Tags: [cli](<https://devfeed.tech/tags/cli.md>), [code](<https://devfeed.tech/tags/code.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [demo](<https://devfeed.tech/tags/demo.md>), [github](<https://devfeed.tech/tags/github.md>), [simulator](<https://devfeed.tech/tags/simulator.md>), [tool](<https://devfeed.tech/tags/tool.md>)

## AI overview

A tutorial showing how to use the Codename One CLI to clone Codename One demo projects from GitHub, download their dependencies, run them in the Codename One simulator, search for tagged demos, and add projects to the searchable demo list.

## Source excerpt

We have loads of demo Codename One apps hosted on Github, however cloning and running a project can be a little tricky because we generally don't publish the dependent jar files (e.g. CodenameOne.jar) in the Github repository. This helps keep the repository lean, but it adds some steps to the process of cloning and running the project. For use cases like this, you may want to try the Codename One CLI tool, as it provides many useful functions directly on the command line. In this post I'll demonstrate how you can easily clone a Codename One project from Github and run it in the Codename One simulator using a single line of code.