{"id":20727629,"url":"https://github.com/cwchentw/clojure-install","last_synced_at":"2025-03-11T09:23:09.951Z","repository":{"id":77777611,"uuid":"258179251","full_name":"cwchentw/clojure-install","owner":"cwchentw","description":"Wrapper and Utility for Clojure","archived":false,"fork":false,"pushed_at":"2020-04-27T23:43:06.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T23:43:34.991Z","etag":null,"topics":["clojure","clojure-wrapper"],"latest_commit_sha":null,"homepage":"","language":"Batchfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cwchentw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-23T11:17:38.000Z","updated_at":"2020-05-08T11:25:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"281a3cfa-b3da-404e-b7fa-533bc19f44d4","html_url":"https://github.com/cwchentw/clojure-install","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwchentw%2Fclojure-install","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwchentw%2Fclojure-install/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwchentw%2Fclojure-install/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwchentw%2Fclojure-install/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cwchentw","download_url":"https://codeload.github.com/cwchentw/clojure-install/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243005129,"owners_count":20220424,"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","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":["clojure","clojure-wrapper"],"created_at":"2024-11-17T04:32:59.155Z","updated_at":"2025-03-11T09:23:09.923Z","avatar_url":"https://github.com/cwchentw.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clojure-install\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nWrapper and Utility for Clojure\n\n## System Requirements\n\n* JDK\n* Clojure\n* jline 1.x, only for Windows\n* (Optional) `rlwrap`, only for Unix\n\nOur script will download Clojure and jline automatically. Hence, you don't need to manage dependency issue except JDK itself.\n\n`rlwrap` support is detected and added automatically if it is available on a host.\n\nWe test our scripts against OpenJDK.\n\n## Usage\n\n### Windows\n\nDownload [clojure-install.bat](https://raw.githubusercontent.com/cwchentw/clojure-install/master/clojure-install.bat)\n\nRun *clojure-install.bat* without parameter to install Clojure to default location:\n\n```\n\u003e clojure-install.bat\n```\n\nDefault installation path is **%USERPROFILE%***\\clojure*, e.g. *C:\\Users\\user\\clojure*.\n\nRun the script with parameter to install Clojure to some specific prefix:\n\n```\n\u003e clojure-install.bat %USERPROFILE%\\opt\n```\n\nIn this case, Clojure will be installed to **%USERPROFILE%***\\opt\\clojure*, e.g. *C:\\Users\\user\\opt\\clojure*.\n\nRemember to set **PATH** variable by yourself. Later, call Clojure with *cljrun.bat*.\n\n### Unix\n\nDownload [clojure-install](https://raw.githubusercontent.com/cwchentw/clojure-install/master/clojure-install).\n\nRun *clojure-install* without parameter to install Clojure to default location:\n\n```\n$ clojure-install\n```\n\nDefault installation path is **$HOME**/clojure, e.g. */home/user/clojure*.\n\nRun the script with parameter to install Clojure to some specific prefix:\n\n```\n\u003e clojure-install $HOME/opt\n```\n\nIn this case, Clojure will be installed to **$HOME**/opt/clojure, e.g. */home/user/opt/clojure*.\n\nRemember to set **PATH** variable by yourself. Later, call Clojure with *cljrun*.\n\n## Note\n\nTo avoid name collision with official Clojure cli tools, we name our main scripts *cljrun* on Unix and *cljrun.bat* on Windows.\n\n## For Windows Users\n\nAs our *cljrun.bat* script add jline 1.x support to the REPL environment of Clojure, press *Ctrl + d* to quit its interactive mode.\n\n## For Unix Users\n\nSince our *cljrun* script add optional `rlwrap` support to the REPL environment of Clojure, press *Ctrl + d* to exit its interactive mode if `rlwrap` is available on the host.\n\n## Known Issues or Bugs\n\nCurrently, our script fails to compile Clojure with system Maven.\n\nOn Windows, `Invoke-WebRequest` cmdlet is only supported on PowerShell 3.0 or above. PowerShell 3.0 is available on Windows 8 or Windows 7 with service pack 1.\n\n## Copyright\n\nCopyright (c) 2020 Michael Chen. Licnesed under MIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcwchentw%2Fclojure-install","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcwchentw%2Fclojure-install","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcwchentw%2Fclojure-install/lists"}