Create a story map from the terminal

On this page

storymaps init makes a new user story map: a storymap.yml file in the folder you're in, and the story map it belongs to on the server.

Make one

Terminal
storymaps initCreated storymap.yml (map ID: abc12345)https://storymaps.io/abc12345

The CLI prints the new file too. It's a starter story map, with one of each kind of card to type over:

storymap.yml
name: My Story Mapid: abc12345site: storymaps.iousers:  - name: User Type    color: "#fca5a5"    step: New Stepactivities:  - name: New Activity    color: "#93c5fd"    step: New Stepsteps:  - New Steplegend:  - color: "#fef08a"    label: Tasks  - color: "#a5f3fc"    label: Notes  - color: "#bef264"    label: Questions  - color: "#fecdd3"    label: Edge casesslices:  - name: ""    stories:      New Step:        - name: New Task or Detail

From here, edit the YAML and push it, or open it in the browser and carry on there.

If the folder already has a storymap.yml, the CLI asks before it overwrites it.

Offline

With no connection, the file is still made, and the CLI says so:

Terminal
storymaps initCreated storymap.ymlTip: run "storymaps push" to upload the map when you're ready to sync.

The first push makes the story map on the server, adds its id to the file, and prints its link:

Terminal
storymaps pushCreated new map: https://storymaps.io/abc12345

Any story map file without an id works the same way, such as one written by hand or by an AI agent.

On your own server

--site makes the story map on another Storymaps.io server, such as one your company runs. See Use the CLI with your own server.

Terminal
storymaps init --site storymaps.yourcompany.com