Skip to main content

πŸ“œ License Selection Guide

Choose the right license for your project


Quick Comparison​

LicensePermissionsConditionsUse Case
MITCommercial use, modify, distributeMust include licenseMaximum freedom
Apache-2.0Commercial use, modify, distribute, patent useMust include license + changesEnterprise-friendly
GPL-3.0Commercial use, modify, distributeMust open source derivativesStrong copyleft

🟒 MIT License​

Best for: Maximum adoption, libraries, tools

You CAN:​

  • βœ… Use commercially
  • βœ… Modify
  • βœ… Distribute
  • βœ… Use privately

You MUST:​

  • πŸ“‹ Include license and copyright notice

You CANNOT:​

  • ❌ Hold author liable

Example Projects​

  • React, Vue.js, jQuery, Node.js, Rails

πŸ”΅ Apache License 2.0​

Best for: Enterprise software, patent protection needed

You CAN:​

  • βœ… Use commercially
  • βœ… Modify
  • βœ… Distribute
  • βœ… Use privately
  • βœ… Use patents

You MUST:​

  • πŸ“‹ Include license and copyright notice
  • πŸ“‹ State changes made

You CANNOT:​

  • ❌ Hold author liable
  • ❌ Use trademarks

Example Projects​

  • Kubernetes, TensorFlow, Apache projects

πŸ”΄ GPL-3.0 License (Current)​

Best for: Projects that must remain open source

You CAN:​

  • βœ… Use commercially
  • βœ… Modify
  • βœ… Distribute
  • βœ… Use privately

You MUST:​

  • πŸ“‹ Include license and copyright notice
  • πŸ“‹ State changes made
  • πŸ“‹ Disclose source code
  • πŸ“‹ Use same license for derivatives

You CANNOT:​

  • ❌ Hold author liable

Example Projects​

  • Linux kernel, WordPress, GIMP

πŸ€” How to Choose​

Do you want maximum adoption?
β”œβ”€β”€ Yes β†’ MIT
└── No
β”‚
β”œβ”€β”€ Do you need patent protection?
β”‚ β”œβ”€β”€ Yes β†’ Apache-2.0
β”‚ └── No
β”‚ β”‚
β”‚ └── Do you want derivatives to stay open source?
β”‚ β”œβ”€β”€ Yes β†’ GPL-3.0
β”‚ └── No β†’ MIT or Apache-2.0

πŸ”„ Changing the License​

From this Template​

  1. Delete the current LICENSE file
  2. Create a new LICENSE file with your chosen license
  3. Update copyright year and name in the new license
  4. Update any license badges in README.md

License Text Sources​


πŸ“š Additional Resources​


⚠️ Disclaimer​

This guide is for informational purposes only and does not constitute legal advice. Consult a legal professional for specific licensing questions.