Skip to content

Commit 0a5ea3a

Browse files
committed
reduce powershell references
1 parent fa1b52c commit 0a5ea3a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/reference/clojure_cli.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The Clojure CLI is a command-line tool to run Clojure programs on the Java Virtu
1717

1818
== Installation
1919

20-
The Clojure CLI can be installed via Homebrew, bash/posix script, or Powershell depending on the platform. See the <<xref/../../../guides/install_clojure#,installation guide>> for details and the <<xref/../../../releases/tools#,release page>> for version information. You can also read the <<xref/../../../guides/deps_and_cli#,guide>> for a longer tutorial. For artifact building, check out the <<xref/../../../guides/tools_build#,tools.build guide>>.
20+
The Clojure CLI can be installed in a variety of ways, see the <<xref/../../../guides/install_clojure#,installation guide>> for details and the <<xref/../../../releases/tools#,release page>> for version information. You can also read the <<xref/../../../guides/deps_and_cli#,guide>> for a longer tutorial. For artifact building, check out the <<xref/../../../guides/tools_build#,tools.build guide>>.
2121

2222
Any version of the Clojure CLI can use any version of the Clojure language. Generally it is best to use the latest <<xref/../../../releases/tools#,version of the CLI>> to have the latest features and fixes. Given a CLI version A.B.C[.D], the default <<xref/../../../releases/downloads#,version of Clojure>> used at the REPL will be A.B.C, however you can specify an older (or newer!) version of the language in your dependencies.
2323

@@ -577,7 +577,7 @@ These data types need to be surrounded by single quotes:
577577
* Sets - `'#{:a :b}'`
578578
* Lists - `'(1 2 3)'`
579579

580-
On Windows, WSL2 shells can follow the advice above, but on cmd.exe or Powershell, additional escape quoting is required for string values. Unfortunately the combination of quoting rules for converting command line Windows program arguments and Powershell quoting and word splitting are https://stackoverflow.com/a/59681993/7671[very complicated].
580+
On Windows, WSL2 shells can follow the advice above, but using clojure.exe, additional escape quoting is required for string values. Unfortunately the combination of quoting rules for converting command line Windows program arguments, quoting, and word splitting are https://stackoverflow.com/a/59681993/7671[very complicated].
581581

582582
To pass a string value at the top level, if the string value does not have spaces, you can use `'\"str\"'`. If the string value does have spaces (or not) you should use `'"""str value"""'`.
583583

@@ -821,7 +821,7 @@ For example:
821821
clj -Ttools install io.github.clojure/tools.deps.graph '{:git/tag "v1.0.63"}' :as deps-graph
822822
----
823823

824-
On Windows, additional <<clojure_cli#quoting,escape quoting>> is required in Powershell:
824+
On Windows, additional <<clojure_cli#quoting,escape quoting>> is required:
825825

826826
[source,shell]
827827
----

0 commit comments

Comments
 (0)