forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 885
Open
Labels
Description
Problem
When installing the Solana CLI (via sh -c "$(curl -sSfL https://release.anza.xyz/stable/install)"), the program assumes the user is using bash, and appends export PATH="$HOME/.local/share/solana/install/active_release/bin:$PATH" to .bash_profile even if the user does not use bash. (Found this issue while installing using the fish shell).
Proposed Solution
- If the current
$SHELLisn't bash, simply tell the user to add the path manually - If the current
$SHELLis another common shell likefish,zsh, etc, properly add the path to the relevant config file, PREFERABLY asking the user if they would like their config file automatically edited (this may be undesired behavior!)