You have to install MongoDB Shell
brew install mongodb-atlas
atlas setup This command also will return a verify code
atlas auth login
atlas setup --clusterName myAtlasClusterEDU --provider AWS --currentIp --skipSampleData --username myAtlasDBUser --password myatlas-001 | tee atlas_cluster_details.txt
atlas cluster create Test --provider AWS --region US_EAST_1 --members 5 --tier M30 --mdbVersion 5.0 --backup
atlas clusters pause Cluster_name atlas clusters start Cluster_name
atlas clusters sampleData load myAtlasClusterEDU
atlas projects apiKeys create --role GROUP_OWNER --desc "nEW api KEY"
"desc" means description, Copy the key in the terminal cause they won't be accessable in other places
atlas config profile --profile profile_name
atlas clusters init
than would not be necessary type --profile in every command
atlas cluster ls --profile profile_name
atlas config --help atlas --help
atlas clusters search index list --clusterName Cluster_name --db db_name --collections collection_name atlas clusters onlineArchives list --clusterName Cluster_name atlas serveless create TestServerless --provider AWS --region US_EAST_1 (pay)
atlas cluster list
show collections show dbs => shows the databases
db.help()