How to install latest conda version using the online terminal?

I am watching the Anaconda Getting Started video tutorial sequence. I am currently watching the video titled “Conda Workflow: Creating Environments, Installing Packages, and Launching an IDE”.

Starting at 1:10 the instructor instructs the viewers to create a new environment by executing the following command in the terminal:

conda create --name example

I am using the in-browser, cloud-based, online conda terminal, which you can get to by clicking the “Launch Notebook” link on this page and then clicking the Terminal button. I have the free Anaconda account.

I executed the command listed above, and was told:

==> WARNING: A newer version of conda exists. <==
  current version: 4.12.0
  latest version: 23.7.3

Please update conda by running

    $ conda update -n base -c defaults conda

So I aborted the creation of the new environment, and executed instead the command

conda update -n base -c defaults conda

For a while it appeared that a whole slew of packages were being installed, but in the end I received the following error message:

EnvironmentNotWritableError: The current user does not have write permissions to the target environment.
environment location: /opt/conda

How can I install the latest conda version using the online terminal?

I’ve been using Conda for a long time, but just like the video tutorial, I’ve only been using it in my own computer, not using the browser-based notebook. When you said “Terminal Button” what do you mean? Cause I clicked on the thing
image

And I only got those. And I have no idea how to open the terminal (Under Terminals) can you show me?

okay, the way I see it, this is a linux machine that is being shared to all users in the community via browser. And the base is on /opt/conda, very likely only Writeable by the admin of the community.

So long story short, you can’t update it. (but maybe raise it as a Bug to the devs)

Use the already created environments if you want to do your data analyses, but I’d recommend you download Anaconda and install it directly to learn, instead of using the browser-based version, if you want to do the CLI stuff.

Moreover, the download of packages is SUUUUPER SLOW if you want to make a new environment.