Skip to content

Commit

Permalink
update install.sh script to use shorthand https://dotenvx.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
motdotla committed Jun 19, 2024
1 parent e8adfae commit 18a9171
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e
VERSION=""
DIRECTORY="/usr/local/bin"
REGISTRY_URL="https://registry.npmjs.org"
INSTALL_SCRIPT_URL="https://dotenvx.sh/install.sh"
INSTALL_SCRIPT_URL="https://dotenvx.sh"

# ./install.sh
# ___________________________________________________________________________________________________
Expand All @@ -25,13 +25,13 @@ INSTALL_SCRIPT_URL="https://dotenvx.sh/install.sh"
# | ## Install |
# | |
# | ```sh |
# | curl -sfS https://dotenvx.sh/install.sh | sh |
# | curl -sfS https://dotenvx.sh | sh |
# | ``` |
# | |
# | or self-execute this file: |
# | |
# | ```sh |
# | curl -sfS https://dotenvx.sh/install.sh > install.sh |
# | curl -sfS https://dotenvx.sh > install.sh |
# | chmod +x install.sh |
# | ./install.sh |
# | ``` |
Expand All @@ -40,15 +40,15 @@ INSTALL_SCRIPT_URL="https://dotenvx.sh/install.sh"
# | |
# | ```sh |
# | # curl examples |
# | curl -sfS "https://dotenvx.sh/install.sh" | sudo sh |
# | curl -sfS "https://dotenvx.sh/install.sh?version=0.44.0" | sh |
# | curl -sfS "https://dotenvx.sh/install.sh?directory=." | sh |
# | curl -sfS "https://dotenvx.sh/install.sh?directory=/custom/path&version=0.44.0" | sh |
# | curl -sfS "https://dotenvx.sh" | sudo sh |
# | curl -sfS "https://dotenvx.sh?version=0.44.5" | sh |
# | curl -sfS "https://dotenvx.sh?directory=." | sh |
# | curl -sfS "https://dotenvx.sh?directory=/custom/path&version=0.44.5" | sh |
# | |
# | # self-executing examples |
# | ./install.sh --version=0.44.0 |
# | ./install.sh --version=0.44.5 |
# | ./install.sh --directory=. |
# | ./install.sh --directory=/custom/path --version=0.44.0 |
# | ./install.sh --directory=/custom/path --version=0.44.5 |
# | ./install.sh --help |
# | ``` |
# | |
Expand Down

0 comments on commit 18a9171

Please sign in to comment.