Skip to content

Instantly share code, notes, and snippets.

@windsting
Last active September 7, 2017 03:14
Show Gist options
  • Save windsting/f7a657262c1ea7153ad48ba8fc4daa2f to your computer and use it in GitHub Desktop.
Save windsting/f7a657262c1ea7153ad48ba8fc4daa2f to your computer and use it in GitHub Desktop.
Use tmux on windows -- A quick way

Use tmux on Windows -- A quick way (在 Windows 上使用 tmux —— 捷径)

  • Read the language you prefer, they have the same cotent.
    挑你习惯的语言看,内容是一样的。
  • TL;DR
    捞干的
  1. Download zip file -- Official link.
    下载 压缩包 -- 官方链接
  2. Unzip it, and run the install.bat inside.
    解压缩,运行里面的 install.bat
  3. Run %USERPROFILE%\.babun\update.bat.
    运行%USERPROFILE%\.babun\update.bat
  4. Install tmux with pact install tmux
    使用 pact install tmux 命令安装 tmux
  • Steps explained
    详细步骤
  1. Download the dist file from http://babun.github.io, a large button with Download now.
    官网 下载安装包的压缩文件,点那个写着 Download now 的大按钮。

  2. Unzip it and run the install.bat, wait for it finish, a babun window will open automatically.
    解压缩,运行 install.bat,等它运行完,一个 babun 窗口会自动打开。

  3. Close the babun opend automatically.
    关掉自动打开的 babun 窗口。

  4. Open folder %USERPROFILE%\.babun , paste it in the address bar, and press Enter.
    打开文件夹 %USERPROFILE%\.babun ,粘贴到文件浏览器的地址栏里,然后回车。

  5. Run the update.bat, and wait, about 10 to 20 minutes -- depends on your network connection speed, a babun window will open automatically, again.
    运行里面的 update.bat,然后等待,大约 10 到 20 分钟 —— 取决于你的网速,完成后,另一个 babun 窗口会自动打开。

  6. Run the next command in the last babun window:
    在后面这个 babun 窗口里运行这个命令:

     pact install tmux
    
  7. Use the tmux from here.
    tmux 已经可用了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment