mirror of
https://hk.gh-proxy.com/https://github.com/CaptainCore/do.git
synced 2025-10-03 23:34:10 +08:00
👌 IMPROVE: Docs
This commit is contained in:
parent
fb92f9cc46
commit
0cd5369878
1 changed files with 3 additions and 3 deletions
|
@ -42,7 +42,7 @@ The script will automatically download and install the following tools into a `~
|
||||||
The easiest way to use CaptainCore `_do` is by defining an alias to [captaincore.io/do](https://captaincore.io/do).
|
The easiest way to use CaptainCore `_do` is by defining an alias to [captaincore.io/do](https://captaincore.io/do).
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
alias _do='bash <(curl -sL https://captaincore.io/do)'
|
alias _do='curl -sL https://captaincore.io/do | bash -s'
|
||||||
```
|
```
|
||||||
|
|
||||||
That allows you to use `_do` without installing anything. The alias will last for the duration of your terminal session. Want to make it persistent? Then add it to your shell's startup file.
|
That allows you to use `_do` without installing anything. The alias will last for the duration of your terminal session. Want to make it persistent? Then add it to your shell's startup file.
|
||||||
|
@ -56,7 +56,7 @@ That allows you to use `_do` without installing anything. The alias will last fo
|
||||||
2. **Add the alias line to the file:**
|
2. **Add the alias line to the file:**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
alias _do='bash <(curl -sL https://captaincore.io/do)'
|
alias _do='curl -sL https://captaincore.io/do | bash -s'
|
||||||
```
|
```
|
||||||
|
|
||||||
3. **Reload your shell configuration.**
|
3. **Reload your shell configuration.**
|
||||||
|
@ -68,7 +68,7 @@ You can execute the script directly for one-off commands. This is help for SSH i
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Example: Remotely check the script version
|
# Example: Remotely check the script version
|
||||||
ssh username@ip-address "bash <(curl -sL https://captaincore.io/do) version"
|
ssh username@ip-address "curl -sL https://captaincore.io/do | bash -s version"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue