gofiber/cli has 95 GitHub stars and 23 forks. GitHot measured 0 stars in 24 hours, 0 in 7 days, and 0 in 15 days. Last checked 2026-11-17 03:25 UTC. Last push 2026-11-13.
Measured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
Fiber Command Line Interface
Developer ToolsREADME.md
OriginalFiber Command Line Interface
Installation
Requires Go 1.25 or later.
go install github.com/gofiber/cli/fiber@latest
Commands
The Fiber CLI provides several commands to enhance development workflows:
fiber dev– Rerun the project whenever watched files changefiber serve– Serve static files with optional TLS and cachingfiber new– Generate a new Fiber project from templatesfiber migrate– Migrate an existing project to a newer Fiber versionfiber upgrade– Upgrade the CLI itself to the latest releasefiber version– Print the local and latest available CLI versions
fiber
Synopsis
🚀 Fiber is an Express inspired web framework written in Go with 💖
Learn more on gofiber.io
CLI version detected using Go build info
Options
-h, --help help for fiber
fiber dev
Synopsis
Rerun the fiber project if watched files changed
fiber dev [flags]
Examples
fiber dev --pre-run="command1 flag,command2 flag"
Pre run specific commands before running the project
Options
-a, --args strings arguments for exec
-d, --delay duration delay to trigger rerun (default 1s)
-D, --exclude_dirs strings ignore these directories (default [assets,tmp,vendor,node_modules])
-F, --exclude_files strings ignore these files
-e, --extensions strings file extensions to watch (default [go,tmpl,tpl,html])
-h, --help help for dev
-p, --pre-run strings pre run commands, see example for more detail
-r, --root string root path for watch, all files must be under root (default ".")
-t, --target string target path for go build (default ".")
fiber serve
Synopsis
Serve static files
See the File server guide for more details.
fiber serve [flags]
Options
--addr string address to listen on (default ":3000")
--browse enable directory browsing
--cache duration cache duration (default 10s)
--cert string TLS certificate file
--compress enable compression
--cors enable CORS middleware
--dir string directory to serve (default ".")
--download force file downloads
--health enable health check endpoints (default true)
--index string comma-separated list of index files (default "index.html")
--key string TLS private key file
--logger enable logger middleware (default true)
--maxage int Cache-Control max-age header in seconds
--path string request path to serve (default "/")
--prefork enable prefork mode
--quiet disable startup message
--range enable byte range requests
-h, --help help for serve
fiber new
Synopsis
Generate a new fiber project
fiber new PROJECT [module name] [flags]
Examples
fiber new fiber-demo
Generates a project with go module name fiber-demo
fiber new fiber-demo your.own/module/name
Specific the go module name
fiber new fiber-demo -t=complex
Generate a complex project
fiber new fiber-demo -t complex -r githubId/repo
Generate project based on Github repo
fiber new fiber-demo -t complex -r https://anyProvider.com/username/repo.git
Generate project based on repo outside Github with https
fiber new fiber-demo -t complex -r [email protected]:id/repo.git
Generate project based on repo outside Github with ssh
Options
-h, --help help for new
-r, --repo string complex boilerplate repo name in github or other repo url (default "gofiber/boilerplate")
-t, --template string basic|complex (default "basic")
fiber migrate
Synopsis
Migrate Fiber project version to a newer version
See the Migration guide for more details.
fiber migrate --to 3.0.0
Options
-t, --to string Migrate to a specific version e.g:3.0.0 Format: X.Y.Z
-f, --force Force migration even if already on the version
-s, --skip_go_mod Skip running go mod tidy, download and vendor
--hash string Commit hash for Fiber version
--third-party strings Refresh third-party modules (contrib,storage,template). Provide a comma-separated list and optionally append @<commit> to pin a commit
-v, --verbose Enable verbose output
-h, --help help for migrate
fiber upgrade
Synopsis
Upgrade Fiber cli if a newer version is available
fiber upgrade [flags]
Options
-h, --help help for upgrade
fiber version
Synopsis
Print the local and released version number of Fiber and the CLI
fiber version [flags]
Options
-h, --help help for version
☕ Supporters
Fiber is an open-source project that runs on donations to pay the bills, e.g., our domain name, hosting, and serverless infrastructure. If you want to support Fiber, please become a GitHub Sponsor.
Tool Sponsors - supporting Fiber with free IDE licenses and AI credits
📅 Monthly Sponsors
| 🔥 Fiber Guardian | ![]() |
| ☕ Fiber Supporter | |
| 🪴 Fiber Friend |
🎁 One-time Sponsors
| 🚀 Fiber Hero | |
| 🪴 Fiber Friend |
