DDEV is a powerful CLI, or command line interface. Run ddev without anything else to learn about some common commands:
ddev
# Output:
# OutputCreate and maintain a local web development environment.
# Docs: https://ddev.readthedocs.io
# Support: https://ddev.readthedocs.io/en/stable/#support
#
# Usage:
# ddev [command]
#
# Available Commands:
# auth A collection of authentication commands
# composer Executes a composer command within the web container
# config Create or modify a ddev project configuration in the current directory
# debug A collection of debugging commands
# delete Remove all project information (including database) for an existing project
# describe Get a detailed description of a running ddev project.
# exec Execute a shell command in the container for a service. Uses the web service by default.
# export-db Dump a database to a file or to stdout
# help Help about any command
# hostname Manage your hostfile entries.
# import-db Import a sql file into the project.
# import-files Pull the uploaded files directory of an existing project to the default public upload directory of your project.
# list List projects
# logs Get the logs from your running services.
# pause uses 'docker stop' to pause/stop the containers belonging to a project.
# poweroff Completely stop all projects and containers
# pull Pull files and database using a configured provider plugin.
# restart Restart a project or several projects.
# restore-snapshot Restore a project's database to the provided snapshot version.
# sequelpro This command is not available since sequel pro.app is not installed
# share Share project on the internet via ngrok.
# snapshot Create a database snapshot for one or more projects.
# ssh Starts a shell session in the container for a service. Uses web service by default.
# start Start a ddev project.
# stop Stop and remove the containers of a project. Does not lose or harm anything unless you add --remove-data.
# version print ddev version and component versions
#
# Flags:
# -h, --help help for ddev
# -j, --json-output If true, user-oriented output will be in JSON format.
# -v, --version version for ddev
#
# Use "ddev [command] --help" for more information about a command.
Now install some prerequisite packages from Ubuntu’s official repository:
sudo apt install build-essential apt-transport-https ca-certificates software-properties-common curl
Run ddev version to verify your software:
ddev version
On a Linux operating system, you can install DDEV using Homebrew for Linux or using the official installation script. On Ubuntu, begin by updating your list of packages in the apt package manager (you can use apt in Debian, otherwise use the equivalent package manager associated with your Linux distribution):
sudo apt update
Now download the script:
curl -O https://raw.githubusercontent.com/drud/ddev/master/scripts/install_ddev.sh
Before running the script, open it in nano or your preferred text editor and inspect its contents:
nano install_ddev.sh
Use the chmod command to make the script executable:
chmod +x install_ddev.sh
Now run the script:
./install_ddev.sh
DDEV includes a powerful CLI, or command line interface. Run ddev to learn about some common commands:
ddev
# Output:
# OutputCreate and maintain a local web development environment.
# Docs: https://ddev.readthedocs.io
# Support: https://ddev.readthedocs.io/en/stable/#support
#
# Usage:
# ddev [command]
#
# Available Commands:
# auth A collection of authentication commands
# composer Executes a composer command within the web container
# config Create or modify a ddev project configuration in the current directory
# debug A collection of debugging commands
# delete Remove all project information (including database) for an existing project
# describe Get a detailed description of a running ddev project.
# exec Execute a shell command in the container for a service. Uses the web service by default.
# export-db Dump a database to a file or to stdout
# help Help about any command
# hostname Manage your hostfile entries.
# import-db Import a sql file into the project.
# import-files Pull the uploaded files directory of an existing project to the default public upload directory of your project.
# list List projects
# logs Get the logs from your running services.
# pause uses 'docker stop' to pause/stop the containers belonging to a project.
# poweroff Completely stop all projects and containers
# pull Pull files and database using a configured provider plugin.
# restart Restart a project or several projects.
# restore-snapshot Restore a project's database to the provided snapshot version.
# sequelpro This command is not available since sequel pro.app is not installed
# share Share project on the internet via ngrok.
# snapshot Create a database snapshot for one or more projects.
# ssh Starts a shell session in the container for a service. Uses web service by default.
# start Start a ddev project.
# stop Stop and remove the containers of a project. Does not lose or harm anything unless you add --remove-data.
# version print ddev version and component versions
#
# Flags:
# -h, --help help for ddev
# -j, --json-output If true, user-oriented output will be in JSON format.
# -v, --version version for ddev
#
# Use "ddev [command] --help" for more information about a command.
You will see an output like this:
OutputDDEV-Local version v1.15.0
commit v1.15.0
db drud/ddev-dbserver-mariadb-10.2:v1.15.0
dba phpmyadmin/phpmyadmin:5
ddev-ssh-agent drud/ddev-ssh-agent:v1.15.0
docker 19.03.8
docker-compose 1.25.5
os darwin
router drud/ddev-router:v1.15.0
web drud/ddev-webserver:v1.15.0
Recommend
How To Install MongoDB from the Default APT Repositories on Ubuntu 18.04 Step 1 — Installing MongoDB
Como construir loops for no Go Loops for aninhados
Como construir loops for no Go Declarando o ForClause e os loops de condição
How To Set Up ProFTPD on CentOS 6 Step Three—Access the FTP server
How To Set Up ProFTPD on CentOS 6 Step Two—Configure ProFTPD
How To Set Up ProFTPD on CentOS 6 Step One—Install ProFTPD
How To Install Node.js on CentOS 8 Option 3 — Installing Node from Source
How To Install Node.js on CentOS 8 Option 2 — Installing Node Using the Node Version Manager
How To Install Node.js on CentOS 8 Option 1 — Installing Node from the CentOS AppStream Repository