Skip to content

Commit

Permalink
Merge pull request #13 from davenverse/updateInstallationREADME
Browse files Browse the repository at this point in the history
Update README with npm installation
  • Loading branch information
ChristopherDavenport committed Nov 21, 2021
2 parents 265372d + d042ccd commit 7daf1b7
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions README.md
Expand Up @@ -4,11 +4,15 @@

## Quick Start

To use curly in an existing SBT project with Scala 2.12 or a later version, add the following dependencies to your
`build.sbt` depending on your needs:
To get started locally. Install with npm. You will want to confirm the npm install location for your
machine is on your path.

```scala
libraryDependencies ++= Seq(
"io.chrisdavenport" %% "curly4s" % "<version>"
)
```sh
sudo npm install -g curly4s
```

Then you should be able to invoke it from command line with a curl command

```
curly4s "curl 'https://www.icanhazdadjoke.com' -H 'Accept: application/json'"
```

0 comments on commit 7daf1b7

Please sign in to comment.