Skip to content

Commit ff37d0b

Browse files
committed
Add notes about the environment variables and install location customization
1 parent fc2fb15 commit ff37d0b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

install/linux/swiftly/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ Run the following command in your terminal, to configure swiftly for your accoun
2929
SWIFTLY_HOME_DIR=~/.swiftly SWIFTLY_BIN_DIR=~/.swiftly/bin ./swiftly init
3030
```
3131

32+
Note: You can adjust the SWIFTLY_* environment variables to customize the install location, or remove them entirely to a Linux standard location.
33+
3234
Your current shell may need some additional steps to update your session. Follow the guidance at the end of the installation for a smooth install experience, such as sourcing the environment file, and rehashing your shell's PATH.
3335

3436
There can be certain packages that need to be installed on your system so that the Swift toolchain can function. The swiftly initialization routine will show you how to install any missing packages.

install/macos/swiftly/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ Run the following command in your terminal, to configure swiftly for your accoun
1717
SWIFTLY_HOME_DIR=~/.swiftly SWIFTLY_BIN_DIR=~/.swiftly/bin ~/.swiftly/bin/swiftly init
1818
```
1919

20+
Note: You can change the SWIFTLY_* environment variables to customize the install location, or remove them to use a macOS standard location.
21+
2022
<div class="warning" markdown="1">
2123
Your current shell may need some additional steps to update your session. Follow the guidance at the end of the installation for a smooth install experience, such as sourcing the environment file, and rehashing your shell's PATH.
2224
</div>

0 commit comments

Comments
 (0)