can't download CRDB client gives an error

$ErrorActionPreference = "Stop"; [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $ProgressPreference = 'SilentlyContinue'; $null = New-Item -Type Directory -Force $env:appdata/cockroach; Invoke-WebRequest -Uri https://binaries.cockroachdb.com/cockroach-v21.1.10.windows-6.2-amd64.zip -OutFile cockroach.zip; Expand-Archive -Path cockroach.zip; Copy-Item -Force cockroach/cockroach-v21.1.10.windows-6.2-amd64/cockroach.exe -Destination $env:appdata/cockroach; $Env:PATH += ";$env:appdata/cockroach"; Add-Content -Path C:\Users\$env:UserName\Documents\WindowsPowerShell\profile.ps1 -Value '$Env:PATH += ";$env:appdata/cockroach"'

in shell has this error

Add-Content : Could not find a part of the path 'C:\Users\need_not\Documents\WindowsPowerShell\profile.ps1'.
At line:1 char:533
+ ... cockroach"; Add-Content -Path C:\Users\$env:UserName\Documents\Window ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\need_n...ell\profile.ps1:String) [Add-Content], DirectoryNotFo
   undException
    + FullyQualifiedErrorId : GetContentWriterDirectoryNotFoundError,Microsoft.PowerShell.Commands.AddContentCommand