New in version 3.1.0.

The nextstrain remote family of commands can list, download, upload, and delete Nextstrain datasets and narratives hosted on This functionality is primarily intended for users to manage the contents of their Nextstrain Groups, but any public dataset or narrative may be downloaded.

Remote paths datasets and narratives are recognized by the same URLs used to view them on the web, e.g.

As a convenience, the scheme (https://) may be omitted, e.g.

As a further convenience for Nextstrain Groups URLs, the domain ( may also be omitted, e.g. groups/blab/sars-like-cov works as well as


Read-only actions may be performed against public paths without authentication. To manage a private Nextstrain Group or upload/delete a public path, first login with credentials using the nextstrain login command.

Environment variables


For development only. You don’t need to set this during normal operation.


Base URL to use instead of when accessing remote resources, e.g.:

NEXTSTRAIN_DOT_ORG=http://localhost:5000 nextstrain remote ls

will interact with http://localhost:5000 instead of