Skip to content

Get

The get command adds one or more packages to the current project.

Terminal window
nubo get <url>
Terminal window
nubo get <url> [flags]

You can pass multiple package URLs.

Terminal window
nubo get <url-a> <url-b>
FlagDescription
-f, --forceKeep going even if a package cannot be downloaded.
-s, --skip-initSkip initializing package information.

Add a package:

Terminal window
nubo get github.com/example/package

Add multiple packages:

Terminal window
nubo get github.com/example/a github.com/example/b

Continue after failures:

Terminal window
nubo get github.com/example/a github.com/example/b --force

Skip package initialization:

Terminal window
nubo get github.com/example/package --skip-init

Short flags:

Terminal window
nubo get github.com/example/package -f -s

If no URL is provided, Nubo prints the command help.

Terminal window
nubo get