From dac9f1a76367d6f874fbce3d441802eb3803b0bd Mon Sep 17 00:00:00 2001 From: Daniel Bergholz Date: Thu, 2 Feb 2023 17:09:26 -0300 Subject: [PATCH] docs: update README to include more options for installation --- README.md | 13 +++++++++++++ package.json | 2 +- templates/README.md | 13 +++++++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4e0f8a7..e9e9e32 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,19 @@ Using NPM: npm init @nebulab/hydrogen --npm ``` +Using the latest version: + +```bash +npm init @nebulab/hydrogen@latest +``` + +If for some reason the above commands don't work, you could also install the package globaly: + +```bash +npm i -g @nebulab/create-hydrogen +create-hydrogen +``` + ## Running the dev server Then `cd` into the new directory and run: diff --git a/package.json b/package.json index a71e5ad..17ba28b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nebulab/create-hydrogen", - "version": "2.0.0", + "version": "2.0.1", "description": "A Hydrogen template with CI/CD (deployed to Vercel) and Git Hooks", "main": "src/cli.js", "bin": "bin/create-hydrogen", diff --git a/templates/README.md b/templates/README.md index 4e0f8a7..e9e9e32 100644 --- a/templates/README.md +++ b/templates/README.md @@ -97,6 +97,19 @@ Using NPM: npm init @nebulab/hydrogen --npm ``` +Using the latest version: + +```bash +npm init @nebulab/hydrogen@latest +``` + +If for some reason the above commands don't work, you could also install the package globaly: + +```bash +npm i -g @nebulab/create-hydrogen +create-hydrogen +``` + ## Running the dev server Then `cd` into the new directory and run: