summaryrefslogtreecommitdiffstats
path: root/docs/ja-JP/installing
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2021-01-07 18:08:18 -0500
committerGitHub <noreply@github.com>2021-01-07 18:08:18 -0500
commit49c51437d297d68af9adc94a29f583131e6c0ee2 (patch)
treef48478dc77a467ed2fb667ea51c593aa64a429de /docs/ja-JP/installing
parentbe11c735079d69a7ee52791fa297caaa78304e3b (diff)
docs(i18n): new Crowdin updates (#2068)
Diffstat (limited to 'docs/ja-JP/installing')
-rw-r--r--docs/ja-JP/installing/README.md46
1 files changed, 46 insertions, 0 deletions
diff --git a/docs/ja-JP/installing/README.md b/docs/ja-JP/installing/README.md
new file mode 100644
index 000000000..6f0ea0d6b
--- /dev/null
+++ b/docs/ja-JP/installing/README.md
@@ -0,0 +1,46 @@
+# 🚀 Advanced Installation
+
+To install starship, you need to do two things:
+
+1. Get the **starship** binary onto your computer
+1. Tell your shell to use the starship binary as its prompt by modifying its init scripts
+
+For most users, the instructions on [the main page](/guide/#🚀-installation) will work great. However, for some more specialized platforms, different instructions are needed.
+
+There are so many platforms out there that they didn't fit into the main README.md file, so here are some installation instructions for other platforms from the community. Is yours not here? Please do add it here if you figure it out!
+
+## [Nix](https://nixos.wiki/wiki/Nix)
+
+### Getting the Binary
+
+#### Imperatively
+
+```sh
+nix-env -iA nixos.starship
+```
+
+#### Declarative, single user, via [home-manager](home-manager)
+
+Add `pkgs.starship` to your `home.packages` in your `home.nix` file, then run
+
+```sh
+home-manager switch
+```
+
+#### Declarative, system-wide, with NixOS
+
+Add `pkgs.starship` to `environment.packages` in your `configuration.nix`, then run
+
+```sh
+sudo nixos-rebuild switch
+```
+
+### Modifying Init Scripts
+
+#### With Nix and home-manager, using zsh:
+
+Add the following to `programs.zsh.initExtra` in your `home.nix` file, then run
+
+```sh
+home-manager switch
+```