Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

add-gitignore

> 开发工具
Open source

An interactive CLI tool that adds a .gitignore to your projects.

724 stars0 likes1 views
WebsiteGitHub

About

An interactive CLI tool that adds a .gitignore to your projects.

add-gitignore

This tiny CLI script that generates a .gitignore file for your projects.

Usage

You'll want to make sure you have NodeJS installed on your computer. Then, setup is as simple as:

  • npx add-gitignore

If you've got an older version of node that doesn't yet have npx, here's a more traditional setup:

  • npm i -g add-gitignore
  • add-gitignore macOS Emacs node # or whatever you need

Alternatively, running just add-gitignore gives you a nice multi-select interface from which you can choose what to ignore, and using the --help flag helps you out.

Special Thanks

  • Joe Blau for gitignore.io.
  • Fabien Bernard for the suggestion of a tool like this.
  • Sindre Sorhus for the open source tools that this uses (ora, meow).

I hope this makes your life easier.

Made with ❤️.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScriptcligitgitignoreinteractive

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具