Git Product home page Git Product logo

Comments (7)

seancorfield avatar seancorfield commented on June 27, 2024 3

Windows cmd.exe and Powershell use different quoting rules to Linux/macOS -- and nearly all tutorials and books for Clojure assume Linux/macOS. This is why I recommend developers use WSL2 on Windows so that all the instructions out there work as expected.

This affects all Clojure CLI usage and is not a bug in deps-new.

I don't use cmd.exe or Powershell (I use WSL2/Ubuntu on Windows and I use macOS) but I think you have to either double- or triple-quote strings for those shells?

from deps-new.

seancorfield avatar seancorfield commented on June 27, 2024 2

BTW, I had a look at the official CLI docs and it doesn't mention this issue with Windows at all, unfortunately. Not https://clojure.org/reference/deps_and_cli#_tool_installation and not even https://clojure.org/reference/deps_and_cli#quoting so I'm going to open an issue on the clojure-site repo about it.

from deps-new.

seancorfield avatar seancorfield commented on June 27, 2024 2

README updated here. See what you think.

from deps-new.

seancorfield avatar seancorfield commented on June 27, 2024 1

I think I'm going to update all my READMEs and point at the (new) official docs about CLI and Powershell in this section https://clojure.org/reference/deps_and_cli#quoting -- that way I'm not duplicating information and it'll help make everyone aware that the official docs cover this now.

from deps-new.

ITSecMedia avatar ITSecMedia commented on June 27, 2024

Thank you Sean.

from deps-new.

ITSecMedia avatar ITSecMedia commented on June 27, 2024

The windows way in powershell is :

clojure -Ttools install io.github.seancorfield/deps-new '{:git/tag ""v0.4.9""}' :as new

from deps-new.

jsg24 avatar jsg24 commented on June 27, 2024

Heya. Please can this be added to the installation instructions for new users? Unfamiliar infrastructure is already difficult without having to work out this issue on PowerShell.

from deps-new.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.