← 返回命令列表

Linux command

ntl 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start development server

ntl dev

Deploy site

ntl deploy

Deploy to production

ntl deploy --prod

Open site in browser

ntl open

List sites

ntl sites:list

说明

ntl is the Netlify CLI shorthand. Manages deployments and development. The tool provides Netlify platform access. Alias for netlify command.

参数

dev
Start local development server.
deploy
Deploy site to Netlify.
--prod
Deploy to production.
open
Open site in browser.
sites:list
List all sites.
login
Authenticate with Netlify.
--help
Display help information.

FAQ

What is the ntl command used for?

ntl is the Netlify CLI shorthand. Manages deployments and development. The tool provides Netlify platform access. Alias for netlify command.

How do I run a basic ntl example?

Run `ntl dev` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does dev do in ntl?

Start local development server.