{"id":15007905,"url":"https://github.com/simonewebdesign/elm-new","last_synced_at":"2025-10-25T20:34:37.783Z","repository":{"id":57157802,"uuid":"59429460","full_name":"simonewebdesign/elm-new","owner":"simonewebdesign","description":"💾 Generate a new Elm project from the command line (Elm 0.16+)","archived":false,"fork":false,"pushed_at":"2020-06-05T14:31:52.000Z","size":120,"stargazers_count":81,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-30T17:06:21.282Z","etag":null,"topics":["boilerplate","cli","command-line-tool","elm","no-dependencies","npm-package","scaffolding","starter","zero-configuration"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/elm-new","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonewebdesign.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-22T19:08:32.000Z","updated_at":"2024-02-08T19:52:51.000Z","dependencies_parsed_at":"2022-08-28T14:21:30.091Z","dependency_job_id":null,"html_url":"https://github.com/simonewebdesign/elm-new","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/simonewebdesign/elm-new","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonewebdesign%2Felm-new","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonewebdesign%2Felm-new/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonewebdesign%2Felm-new/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonewebdesign%2Felm-new/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonewebdesign","download_url":"https://codeload.github.com/simonewebdesign/elm-new/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonewebdesign%2Felm-new/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267857797,"owners_count":24155914,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["boilerplate","cli","command-line-tool","elm","no-dependencies","npm-package","scaffolding","starter","zero-configuration"],"created_at":"2024-09-24T19:14:23.755Z","updated_at":"2025-10-25T20:34:37.698Z","avatar_url":"https://github.com/simonewebdesign.png","language":"Shell","funding_links":[],"categories":["Boilerplates"],"sub_categories":["Outdated Boilerplates"],"readme":"# elm-new\n\n[![Build Status](https://travis-ci.org/simonewebdesign/elm-new.svg?branch=master)](https://travis-ci.org/simonewebdesign/elm-new) [![Build Status](https://ci.appveyor.com/api/projects/status/5jqfyredn4l7rxtv/branch/master?svg=true\n)](https://ci.appveyor.com/project/simone/elm-new)\n\n\u003e Clojure has `lein new`, Elixir has `mix new` and now Elm has `elm new`!\n\nWith `elm new` you can easily **start a new Elm project from the command line**.\n\nThe idea is to be able to start coding right away instead of wasting time setting up the initial Elm architecture boilerplate.\nThis is especially useful if you do a lot of prototyping.\n\n## Features\n\n- **No dependencies** — all you need is a shell (like bash, zsh, fish, etc.)\n- **Very simple** to install and use. Auto-completion included.\n- **100% test covered**. It just works!\n\nSimply choose between:\n\n- [**sandbox**](https://package.elm-lang.org/packages/elm/browser/latest/Browser#sandbox) — good for learning about the Elm Architecture\n- [**element**](https://package.elm-lang.org/packages/elm/browser/latest/Browser#element) — an Elm application embedded in an HTML element\n- [**document**](https://package.elm-lang.org/packages/elm/browser/latest/Browser#document) — an application that has control over the full HTML document\n- [**application**](https://package.elm-lang.org/packages/elm/browser/latest/Browser#application) — a single-page app\n\n\n## Usage\n\n```bash\nelm-new                        # Initialize a Browser.document in the current directory\nelm-new my-project             # Initialize a Browser.document in my-project/\nelm-new my-project --beginner  # Initialize a Browser.sandbox in my-project/\nelm-new my-spa --navigation    # Initialize a Browser.application in my-spa/\nelm-new hello --hello-world    # Initialize a \"Hello, world!\" program in hello/\nelm-new --version              # Prints the installed version\nelm-new --help                 # Prints all possible commands\n```\n\n## Example\n\n```\n$ elm-new my-awesome-project\n\nmy-awesome-project\n├── .gitignore\n├── README.md\n├── elm.json\n└── src\n    └── Main.elm\n\n1 directory, 4 files\n\nYour Elm program has been created successfully.\nYou can use \"elm make\" to compile it:\n\n    cd my-awesome-project\n    elm make src/Main.elm\n\nRun \"elm\" for more commands.\n```\n\n## Installation\n\n**Linux**, **Mac OS X** and **Windows** are supported.\n\n### npm\n\n    npm install -g elm-new\n\n### yarn\n\n    yarn global add elm-new\n\n### Chocolatey\n\n    choco install elm-new\n\n### Homebrew\n\n    brew install simonewebdesign/tap/elm-new\n\n### Git\n\n    git clone https://github.com/simonewebdesign/elm-new\n    cd elm-new \u0026\u0026 sudo make install\n\n---\n\nSee [here](https://github.com/simonewebdesign/elm-new/blob/master/INSTALL.md) for other installation options.\n\n---\n\n### Support for older Elm versions\n\nOlder versions of Elm are also supported:\n\n- Elm 0.19 =\u003e elm-new v2.0.0+\n- Elm 0.18 =\u003e elm-new v1.3.0\n- Elm 0.17 =\u003e elm-new v1.1.3\n- Elm 0.16 =\u003e elm-new v0.1.0\n\nSo, for example, if you're using Elm 0.18, you'll want to grab elm-new v1.3.0. You can either install it via `brew` or `npm`, or download it straight from the [releases](https://github.com/simonewebdesign/elm-new/releases) page.\n\nThe choices also differ depending on the Elm version. For example, for Elm 0.18 you could choose between:\n\n- [`Html.program`](https://package.elm-lang.org/packages/elm-lang/html/1.1.0/Html-App#program) — the default. Run: `elm-new my-project-name`\n- [`Html.beginnerProgram`](https://package.elm-lang.org/packages/elm-lang/html/1.1.0/Html-App#beginnerProgram) — good for learning. Run: `elm-new my-project --beginner`\n- [`Navigation.program`](https://package.elm-lang.org/packages/elm-lang/navigation/2.1.0/Navigation#program) — SPA with routing. Run: `elm-new my-project --navigation`\n\n---\n\n## Contributing\n\nContributors are welcome! Just fork this repo and start hacking away.\n\nMake sure to check out [CONTRIBUTING.md](https://github.com/simonewebdesign/elm-new/blob/master/CONTRIBUTING.md) to get started.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonewebdesign%2Felm-new","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonewebdesign%2Felm-new","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonewebdesign%2Felm-new/lists"}