diff options
author | Matan Kushner <hello@matchai.dev> | 2024-01-04 17:06:28 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-04 11:06:28 +0100 |
commit | eef94106b0a7e4abf0be68e268ac941784a72427 (patch) | |
tree | 17eff940f3a00b81c31d1fed1d46ba53145e2c02 /docs/pt-PT/faq/README.md | |
parent | de4e1fde2f4cd6a1ef7279b3dfe48123ffefbd6c (diff) |
docs(i18n): new Crowdin updates (#5661)
* New translations readme.md (French)
* New translations readme.md (French)
* New translations readme.md (French)
* New translations readme.md (French)
* New translations readme.md (Spanish)
* New translations readme.md (Arabic)
* New translations readme.md (German)
* New translations readme.md (Italian)
* New translations readme.md (Japanese)
* New translations readme.md (Korean)
* New translations readme.md (Dutch)
* New translations readme.md (Norwegian)
* New translations readme.md (Polish)
* New translations readme.md (Portuguese)
* New translations readme.md (Russian)
* New translations readme.md (Turkish)
* New translations readme.md (Ukrainian)
* New translations readme.md (Chinese Simplified)
* New translations readme.md (Chinese Traditional)
* New translations readme.md (Vietnamese)
* New translations readme.md (Portuguese, Brazilian)
* New translations readme.md (Indonesian)
* New translations readme.md (Bengali)
* New translations readme.md (Sorani (Kurdish))
* New translations readme.md (Spanish)
* New translations readme.md (Spanish)
Diffstat (limited to 'docs/pt-PT/faq/README.md')
-rw-r--r-- | docs/pt-PT/faq/README.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/pt-PT/faq/README.md b/docs/pt-PT/faq/README.md index 41bb2d391..1f8484406 100644 --- a/docs/pt-PT/faq/README.md +++ b/docs/pt-PT/faq/README.md @@ -120,3 +120,11 @@ If Starship was installed using the install script, the following command will d # Locate and delete the starship binary sh -c 'rm "$(command -v 'starship')"' ``` + +## How do I install Starship without `sudo`? + +The shell install script (`https://starship.rs/install.sh`) only attempts to use `sudo` if the target installation directory is not writable by the current user. The default installation diretory is the value of the `$BIN_DIR` environment variable or `/usr/local/bin` if `$BIN_DIR` is not set. If you instead set the installation directory to one that is writable by your user, you should be able to install starship without `sudo`. For example, `curl -sS https://starship.rs/install.sh | sh -s -- -b ~/.local/bin` uses the `-b` command line option of the install script to set the installation directory to `~/.local/bin`. + +For a non-interactive installation of Starship, don't forget to add the `-y` option to skip the confirmation. Check the source of the installation script for a list of all supported installation options. + +When using a package manager, see the documentation for your package manager about installing with or without `sudo`. |