diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 89c90ac..acf0ea2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -70,7 +70,7 @@ You can do this **in about 30 seconds**: 1. Run [`git-config-gpg`](https://webinstall.dev/git-config-gpg) from Webi: ```sh # On Mac & Linux - curl https://webinstall.dev/git-config-gpg | sh + curl https://webi.sh/git-config-gpg | sh ``` 2. Copy the GPG public key (it will be printed to your screen) 3. Add it to your GitHub profile: diff --git a/README.md b/README.md index f6ecd8d..46cdb46 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ - in short: no nonsense ```sh -curl https://webinstall.dev/webi | sh +curl https://webi.sh/webi | sh ``` This repository contains the primary and community-submitted packages for @@ -41,7 +41,7 @@ More technically: - (re-)linking directories 4. `/install.sh` may provide functions to override `_webi/template.sh` 5. Recap: - - `curl https://webinstall.dev/` => `bootstrap-.sh` + - `curl https://webi.sh/` => `bootstrap-.sh` - `sh bootstrap-.sh` => `https://webinstall.dev/api/installers/@.sh?formats=zip,tar` - `sh install-.sh` => download, unpack, move, link, update PATH @@ -273,7 +273,7 @@ set WEBI_HOST=https://webinstall.dev Windows has curl too!? ```bat -curl.exe -sL -A "MS" https://webinstall.dev/node | powershell +curl.exe -sL https://webi.ms/node | powershell ``` And it's easy enough to ignore the execution policy @@ -286,11 +286,11 @@ And if we want something that looks as complicated as we expect Windows to be, historically, we have options: ```bat -powershell "Invoke-Expression ( Invoke-WebRequest -UseBasicParsing https://webinstall.dev/node ).Contents" +powershell "Invoke-Expression ( Invoke-WebRequest -UseBasicParsing https://webi.ms/node ).Contents" ``` ```bat -powershell ( Invoke-WebRequest -UseBasicParsing https://webinstall.dev/node ).Contents | powershell +powershell ( Invoke-WebRequest -UseBasicParsing https://webi.ms/node ).Contents | powershell ``` --> diff --git a/_npm/README.md b/_npm/README.md index acd5ebd..9a3057b 100644 --- a/_npm/README.md +++ b/_npm/README.md @@ -20,13 +20,13 @@ npm install -g webi Mac & Linux: ```sh -curl -fsS https://webinstall.dev/node | sh +curl -fsS https://webi.sh/node | sh ``` Windows (includes `curl.exe` and PowerShell by default): ```sh -curl.exe -fsSA "MS" https://webinstall.dev/node | powershell +curl.exe -fsSA "MS" https://webi.ms/node | powershell ``` ## Example: Switching node versions diff --git a/_npm/scripts/install-webi.js b/_npm/scripts/install-webi.js index 3293022..5e1e40d 100755 --- a/_npm/scripts/install-webi.js +++ b/_npm/scripts/install-webi.js @@ -14,27 +14,22 @@ if (/^win/i.test(os.platform())) { console.warn("This npm installer doesn't work on windows yet."); console.warn('Copy and paste this into cmd.exe or PowerShell instead:'); console.warn(''); - console.warn( - " curl.exe -fsSA 'MS' https://webinstall.dev/webi | powershell" - ); + console.warn(' curl.exe -fsS https://webi.ms/webi | powershell'); console.warn(''); return; } -exec( - 'curl -fsS https://webinstall.dev/webi | sh', - function (err, stdout, stderr) { - if (err) { - console.error(err); - } - if (stdout) { - console.info(stdout); - } - if (stderr) { - console.error(stderr); - } +exec('curl -fsS https://webi.sh/webi | sh', function(err, stdout, stderr) { + if (err) { + console.error(err); } -); + if (stdout) { + console.info(stdout); + } + if (stderr) { + console.error(stderr); + } +}); /* .then(function () { // nada diff --git a/goreleaser/README.md b/goreleaser/README.md index ab0f9cf..6661071 100644 --- a/goreleaser/README.md +++ b/goreleaser/README.md @@ -210,7 +210,7 @@ From macOS you can easily cross-compile cgo for Windows and Linux. Install [brew](https://webinstall.dev/brew), if needed: ```sh -curl -sS https://webinstall.dev/brew | sh +curl -sS https://webi.sh/brew | sh ``` Install mingw and musl-cross: \ diff --git a/gpg-pubkey/README.md b/gpg-pubkey/README.md index 93fab0c..23ae6a1 100644 --- a/gpg-pubkey/README.md +++ b/gpg-pubkey/README.md @@ -22,7 +22,7 @@ This installs two commands. The easiest way to get your GnuPG Public Key: ```sh -curl https://webinstall.dev/gpg-pubkey | sh +curl https://webi.sh/gpg-pubkey | sh ``` This is what the output of `gpg-pubkey` looks like (except much longer): diff --git a/powershell/README.md b/powershell/README.md index 407e389..7b6f9da 100644 --- a/powershell/README.md +++ b/powershell/README.md @@ -17,7 +17,7 @@ For example, if you wanted to install Node.js with powershell and webinstall.dev, you can: ```cmd -curl.exe -s -A "MS" https://webinstall.dev/node@lts | powershell +curl.exe -s https://webi.ms/node@lts | powershell ``` --> diff --git a/ssh-pubkey/README.md b/ssh-pubkey/README.md index dfa85cb..34a239a 100644 --- a/ssh-pubkey/README.md +++ b/ssh-pubkey/README.md @@ -20,7 +20,7 @@ tagline: | The easiest way to get your SSH Public Key: ```sh -curl https://webinstall.dev/ssh-pubkey | sh +curl https://webi.sh/ssh-pubkey | sh ``` ```txt diff --git a/webi/README.md b/webi/README.md index fa3ebb6..cf4030d 100644 --- a/webi/README.md +++ b/webi/README.md @@ -27,7 +27,7 @@ Since `webi` is just a small helper script, it always updates on each use. You can install _exactly_ what you need, from memory, via URL: ```sh -curl https://webinstall.dev/node@lts | sh +curl https://webi.sh/node@lts | sh ``` Or via `webi`, the tiny `curl | sh` shortcut command that comes with each