安裝 superfile

將 superfile 安裝到你的電腦上。

安裝前準備

首先,請確認你的電腦已安裝以下工具:

  • 任一 Nerd-font,並將終端機應用程式的字型設定為已安裝的 Nerd-font

安裝腳本

將以下單行指令複製並貼到電腦的終端機中。

Linux / macOS

使用 curl

bash -c "$(curl -sLo- https://superfile.dev/install.sh)"

或使用 wget

bash -c "$(wget -qO- https://superfile.dev/install.sh)"

使用 SPF_INSTALL_VERSION 指定版本:

SPF_INSTALL_VERSION=1.2.1 bash -c "$(curl -sLo- https://superfile.dev/install.sh)"

Windows

使用 powershell

powershell -ExecutionPolicy Bypass -Command "Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://superfile.dev/install.ps1'))"

使用 SPF_INSTALL_VERSION 指定版本:

powershell -ExecutionPolicy Bypass -Command "$env:SPF_INSTALL_VERSION=1.2.1; Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://superfile.dev/install.ps1'))"

使用 Winget

winget install --id yorukot.superfile

使用 Scoop

scoop install superfile

社群維護的套件

Packaging status

依字母排序

Arch

從原始碼建置套件
sudo pacman -S superfile
從 GitHub 建置最新版本
yay -S superfile-git

Homebrew

安裝 Homebrew,然後執行以下指令:

brew install superfile

NixOS

使用 nix 命令列安裝
nix profile install github:yorukot/superfile#superfile
使用 flake 安裝

將 superfile 加入你的 flake inputs:

inputs = {
  superfile = {
    url = "github:yorukot/superfile";
  };
  # ...
};

接著可以將它加入 packages:

let
  system = "x86_64-linux";
in {
  environment.systemPackages = with pkgs; [
    # ...
    inputs.superfile.packages.${system}.default  ];
}

Pixi

安裝 Pixi,然後執行以下指令:

pixi global install superfile

X-CMD

x-cmd 是一個 Posix Shell 工具箱,提供以 shell 和 awk 建構的輕量套件管理器。

x env use superfile

啟動 superfile

安裝完成後,你可以視需要重新啟動終端機。

執行 spf 來啟動 superfile

spf

下一步