I would like to reduce the output which is printed to the terminal when I run:

earthengine task list

Is there some way to clear the task list in the earthengine command line tool?


I don't know whether the earthengine task list can be cleared. However, the output which is printed to the terminal can easily be reduced.

This command (unix systems only) will only print the first 5 tasks:

earthengine task list | head -n 5;

while this command will print the last 5 tasks:

earthengine task list | tail -n 5

  • This question is unclear. Do you want only a subset of tasks (say 10 tasks) to be listed rather than all tasks to be listed when you type earthengine task list or do you want to clear all the tasks in your earthengine queue? Please update the question to be as specific as possible.
    – kkrao
    Jun 11, 2020 at 4:47
  • @kkrao, cheers, I've updated the question.
    – sir_olf
    Jun 12, 2020 at 13:09

1 Answer 1


Yes there is a way to cancel all tasks pending in the queue. Use earthengine task cancel all.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.