> For the complete documentation index, see [llms.txt](https://coolconan.gitbook.io/roadmap/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://coolconan.gitbook.io/roadmap/others/tools/180802-valuable-tool.md).

# 个人常用的工具分享

下面列举了一些我全局安装的包或者工具。 一部分在日常开发中让我效率提高了颇多，也有一部分工具比较有趣，一并列在下方。

## npm package

* [add-gitignore](https://github.com/TejasQ/add-gitignore#usage) 一键生成 .gitignore 文件，可配合 [gitignore](https://github.com/dvcs/gitignore) 使用

  <img src="https://2757623353-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LQcTxgqTqhC05ckLpLr%2F-LQcULtcaTh9ZyE1-O5p%2F-LQcUPK6Pl7NKBQf8C-B%2F2018-08-02-15-04-55.gif?generation=1541498841990342&amp;alt=media" alt="" data-size="original">
* [cnpm](https://npm.taobao.org)

  这东西是啥就不用多说了，用过的都说好，速度杠杠的。

  如果不喜欢 `cnpm` 装依赖时软链文件的方式，可以试试以下命令:

  ```bash
  $ npm install xxx --registry=https://registry.npm.taobao.org
  ```
* [yarn](https://yarnpkg.com/zh-Hans/)

  可以用于替换 npm 的依赖管理工具。

  不过npm 更新到5.0之后感觉 yarn 速度上的优势不是特别明显了。
* [http-server](https://www.npmjs.com/package/http-server) 顾名思义，在本地开启一个简单的http server。

  <img src="https://2757623353-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LQcTxgqTqhC05ckLpLr%2F-LQcULtcaTh9ZyE1-O5p%2F-LQcUPK8cF27noWpxl7D%2F2018-08-02-15-10-09.png?generation=1541498841596430&amp;alt=media" alt="" data-size="original">
* [nodemon](https://github.com/remy/nodemon)

  实时 watch 文件变动并重启 node 服务。可以配合项目使用，所以感觉单独装的必要性不是很强。

  因为自己有时候会在本地调试一些临时代码，所以全局安装了

## 其他

* [tmux](https://github.com/tmux/tmux)

  关于tmux的常用操作，可以参考我这篇笔记 [tmux 简要笔记](/roadmap/others/tools/180411-tmux-commands.md)
* [nvm](https://github.com/creationix/nvm)

  一个 node 版本管理的工具
* [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh)

  辅助使用 zsh 的工具，可以让你的 zsh 更易用！
* [shadowsocks](https://github.com/shadowsocks/shadowsocks)

  只需要简单的 `pip install shadowsocks`，即可科学喝茶\~
