From: AJ ONeal Date: Wed, 12 Aug 2020 18:55:44 +0000 (-0600) Subject: v0.5.1 X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=c9efb5d31e4446c5e1ce5d45dfa0318afff322ad;p=webi-installers%2F.git v0.5.1 --- diff --git a/_npm/README.md b/_npm/README.md index 2e2df0a..ff7aca7 100644 --- a/_npm/README.md +++ b/_npm/README.md @@ -9,6 +9,12 @@ Effortlessly install developer tools with easy-to-remember URLs. - without touching system files or permissions - without looking up docs +## Install webi via npm: + +```bash +npm install -g webi +``` + ## Example: Installing node Mac & Linux: @@ -25,6 +31,9 @@ curl.exe -fsSA "MS" https://webinstall.dev/node | powershell ## Example: Switching node versions +Once `webi` is installed, you can then install commands or switch versions with +webi itself: + ```bash webi node@stable webi node@lts diff --git a/_npm/package-lock.json b/_npm/package-lock.json index 0c8e157..7fa187f 100644 --- a/_npm/package-lock.json +++ b/_npm/package-lock.json @@ -1,5 +1,5 @@ { - "name": "@root/webi", + "name": "webi", "version": "0.5.0", "lockfileVersion": 1, "requires": true, diff --git a/_npm/package.json b/_npm/package.json index 2086e7e..e57b1b8 100644 --- a/_npm/package.json +++ b/_npm/package.json @@ -1,6 +1,6 @@ { - "name": "@root/webi", - "version": "0.5.0", + "name": "webi", + "version": "0.5.1", "description": "Effortlessly install developer tools with easy-to-remember URLs", "main": "index.js", "homepage": "https://webinstall.dev", @@ -8,7 +8,7 @@ "scripts/" ], "scripts": { - "postinstall": "node scripts/webi.js", + "postinstall": "node scripts/install-webi.js", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": {