Ploi CLI
Ploi CLI

Managing .env

The env:pull and env:push commands are used to manage environment files (.env) for your sites. You can pull an .env file from a server or push a local .env file to a server.

Syntax

Pull Environment File

ploi env:pull

Write content to a specified file

ploi env:pull .my_env

Push Environment File

ploi env:push

Push content from a specified file

ploi env:push .my_env