Codify is a command-line tool that brings the power of Infrastructure as Code (IaC) to your local development environment. Manage system settings, install packages, and automate your setup using a simple, declarative configuration file.
- Website: https://codifycli.com
- Editor: https://dashboard.codifycli.com
- Documentation: https://docs.codifycli.com
Setting up a new development machine is often a tedious and manual process. Codify automates this by allowing you to define your desired state in a codify.jsonc file. This makes your environment reproducible, versionable, and easy to share.
- Declarative Setup: Define your entire local environment in a single file.
- Plan & Apply Workflow: See what changes will be made before they are executed.
- Import Existing Setups: Generate a Codify configuration from your currently installed packages.
- Extensible Plugin System: Create your own plugins to support any resource.
- Web-Based Editor: Use the Codify Dashboard for a powerful editing experience.
-
Install Codify:
$ npm install -g codify -
Initialize a new project:
The
initcommand will scan your system for installed packages and generate acodify.jsoncfile for you.$ codify init -
Plan and Apply:
- Run
codify planto see what changes Codify will make. - Run
codify applyto apply the changes.
- Run
Here are some of the most common commands:
| Command | Description |
|---|---|
codify init |
Initialize a new Codify project by scanning your system. |
codify import |
Import existing resources into your codify.jsonc file. |
codify plan |
Show the execution plan without applying any changes. |
codify apply |
Apply the changes to your system. |
codify destroy |
Remove resources managed by Codify. |
codify validate |
Validate your codify.jsonc file. |
codify connect |
Connect the CLI to the Codify Dashboard. |
codify login |
Log in to your Codify account. |
For a full list of commands and options, run codify --help.
Contributions are welcome! Please feel free to open an issue or submit a pull request.
This project is licensed under the Apache 2.0 License.